[問題] module不知道如何安裝
首先 我的電腦環境是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
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
Python 近期熱門文章
PTT數位生活區 即時熱門文章