[問題] module不知道如何安裝

看板Python作者 (nothing)時間15年前 (2009/09/23 16:29), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
首先 我的電腦環境是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
文章代碼(AID): #1AkTnFhh (Python)
文章代碼(AID): #1AkTnFhh (Python)