本帖最后由 yakczh_cu 于 2013-05-16 12:56 编辑 SimpleHTTPServer 这个测试页面很好用,省去了配置域名,docuemnt_root之类的操作 python -m SimpleHTTPServer这样会启动 python26的SimpleHTTPServer 但是python26的 SimpleHTTPServer在有些请求下报一大堆错,如果用python32指定路径 g:\python32\python.exe -m SimpleHTTPServer 提示 g:\python32\python.exe: No module named SimpleHTTPServer 如果才能启动python32...
by yakczh_cu - Python - 2013-05-16 15:45:58 阅读(2982) 回复(2)
CentOS 5.3
python 2.5.4
执行
bash-3.0# python setup.py build
Traceback (most recent call last):
File "setup.py", line 5, in
wenfeng-desktop:/src/setuptools-0.6c9# python setup.py install --prefix=/target running install Checking .pth file support in /target/lib/python2.5/site-packages/ error: can't create or remove files in install directory The following error occurred while trying to add or remove files in the installation directory: [Errno 2] No such file or directory: '/target/lib/python2.5/site-packages/test...
转:iTech python26web[py2web之helloworld] 一 web2py web2py是免费的开源的web框架,被用来快速地开发基于安全的数据库驱动的web应用。我们通过python来使用web2py框架,同时web2py本身也是使用python开发的。web2py是一个full-stack框架,这意味着她包含了你构建功能丰富的web应用的所有组件。 主页 : http://web2py.com/ 官方的参考书: http://web2py.com/book 官方的example: http://web2py.com/exam...
下载下来以后应该如何安装到python里面的? 不好意思,说的具体一些,我同时安装了python2.4和2.4, python2.4已经装好了setuptools,想在2.5 里面安装,可是一运行ez_setup就会提示说我已经安装好了,遇到这种情况应该怎么继续安装,或是应该怎么手动安装,谢谢 [ 本帖最后由 Blue.tooth 于 2006-11-10 23:19 编辑 ]
在redhat6中对python程序用setuptools打包成rpm,打包成功了,但是我还想在安装这个rpm的时候自动执行一条语句如: chkconfig --add foo 请问该在setup中加哪个参数,谢谢。
本帖最后由 ssfjhh 于 2012-12-23 22:39 编辑 在网上搜索发现可以通过ez_setup.py安装,但是按照这个办法发现装不上。[code]注意:win7 64位必须使用ez_setup.py进行安装。方法是下载ez_setup.py后,在cmd下执行 python ez_setup.py,即可自动安装setuptools。目前没有直接的exe安装版本。[/code]报错信息如下。 版本:64位python3.3 @win7 64bit