作者Lucemia (生の直感、死の予感)
看板Python
标题Re: [问题] turbogear安装
时间Tue Mar 25 08:56:38 2008
※ 引述《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)
1F:推 Arton0306:感谢! 04/06 00:20