作者abcg5 (nothing)
看板Python
标题[问题] module不知道如何安装
时间Wed Sep 23 16:29:02 2009
首先 我的电脑环境是windows XP SP3
python 2.5
小弟想要使用RSSfeed去 抓新文章
找到的sparta这个API
这个API要求先安装RDFlib-2.4.2
我使用一般的easy_install -U "rdflib>=2.4.2"
以下是他的错误讯息
warning: no files found matching 'example.py'
error: Setup script exited with error: Python was built with Visual Studio
2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
是指说 我要安装VS2003才行吗??
另外我直接将RDFlib-2.4.2下载解压後
使用python setup.py install也失败了~
以下是错误讯息
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
一样要我用MingW32(这是啥啊??)去compile setup.py
而且我不知道要如何用这东西compile...
请会使用的高手 教一下小弟! 谢谢!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.116.245.199