Re: [問題] turbogear安裝

看板Python作者 (生の直感、死の予感)時間17年前 (2008/03/25 08:56), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/4 (看更多)
※ 引述《Arton0306 (Ar藤)》之銘言: : Below is the output showing how the compilation failed: : 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. : ********************************************************************** : error: Setup script exited with error: can't copy : 'simplejson.egg-info\native_li : bs.txt': doesn't exist or not a regular file : 安裝最後出現這個 : Python是Visual Studio做的? 我還要裝Visual Studio2003?? : 怎麼有這種怪事... ※ 引述《Arton0306 (Ar藤)》之銘言: : Below is the output showing how the compilation failed: : 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. : ********************************************************************** : error: Setup script exited with error: can't copy : 'simplejson.egg-info\native_li : bs.txt': doesn't exist or not a regular file : 安裝最後出現這個 : Python是Visual Studio做的? 我還要裝Visual Studio2003?? : 怎麼有這種怪事... http://pypi.python.org/pypi/simplejson simplejson 的 code 有部分是用c寫來加速的 因此需要vs 或 mingw來 compile 這種情況蠻常見的 不然就要抓看看有沒有寫成for windowns安裝檔的版本 另外印象中如不考慮加速的話 直接將simplejson http://www.undefined.org/python/ejson 抓下來後解壓到 C:\Python25\Lib\site-packages\simplejson 也是可以用 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.110.216.36 ※ 編輯: Lucemia 來自: 140.110.216.36 (03/25 08:57)

04/06 00:20, , 1F
感謝!
04/06 00:20, 1F
文章代碼(AID): #17w4t7BE (Python)
討論串 (同標題文章)
本文引述了以下文章的的內容:
以下文章回應了本文
完整討論串 (本文為第 2 之 4 篇):
文章代碼(AID): #17w4t7BE (Python)