Re: [問題] turbogear安裝
※ 引述《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
討論串 (同標題文章)
Python 近期熱門文章
PTT數位生活區 即時熱門文章