在Windows XP上安装TurboGears

时间:2010-03-11 15:34:14

标签: python windows-xp turbogears

我一直试图通过关注this网站在Windows上安装TurboGears。 我已经安装了virtualenv但是当我执行命令“virtualenv --no-site-packages testproj”时,我收到以下消息:

New python executable in testproj\Scripts\python.exe
Traceback (most recent call last):
  File "C:\Python26\Scripts\virtualenv-script.py", line 8, in 
    load_entry_point('virtualenv==1.4.5', 'console_scripts', 'virtualenv')()
  File "C:\Python26\lib\site-packages\virtualenv-1.4.5-py2.6.egg\virtualenv.py", line 529, in main
    use_distribute=options.use_distribute)
  File "C:\Python26\lib\site-packages\virtualenv-1.4.5-py2.6.egg\virtualenv.py", line 612, in create_environment
    site_packages=site_packages, clear=clear))
  File "C:\Python26\lib\site-packages\virtualenv-1.4.5-py2.6.egg\virtualenv.py", line 837, in install_python
    stdout=subprocess.PIPE)
  File "C:\Python26\lib\subprocess.py", line 621, in __init__
    errread, errwrite)
  File "C:\Python26\lib\subprocess.py", line 830, in _execute_child
    startupinfo)
WindowsError: [Error 14001] This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem 

有人可以帮我调试吗?如果有人知道更好的安装turbogears的教程,请告诉我。

1 个答案:

答案 0 :(得分:1)

我弄明白了这个错误。显然,如果文件夹名称有空格(例如文档和设置),virtualenv不喜欢它。当我的文件夹名称没有空格时,它工作正常。