xiaosi4081 发表于 2020-7-29 14:10:23

安装turbogears报错

报错如下:

ERROR: Command errored out with exit status 1:
   command: 'D:\gam\Scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv = '"'"'C:\\Users\\x4\\AppData\\Local\\Temp\\pip-install-3_89a3rf\\turbogears\\setup.py'"'"'; __file__='"'"'C:\\Users\\x4\\AppData\\Local\\Temp\\pip-install-3_89a3rf\\turbogears\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\x4\AppData\Local\Temp\pip-pip-egg-info-6x7qc0w2'
         cwd: C:\Users\x4\AppData\Local\Temp\pip-install-3_89a3rf\turbogears\
    Complete output (1 lines):
    TurboGears 1.5 requires a Python version between 2.4 and 2.7.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

xiaosi4081 发表于 2020-7-29 14:17:50

没人?

hrp 发表于 2020-7-29 14:21:43

TurboGears 1.5 requires a Python version between 2.4 and 2.7.

TurboGears 1.5 要求 Python 版本是2.4到2.7之间。

疾风怪盗 发表于 2020-7-29 14:23:38

TurboGears 1.5 requires a Python version between 2.4 and 2.7.看看这句话是什么意思吧,你的python是多少版本?
不知道这是什么库,估计回答的人会很少,我前几天问的python使用Tesseract-OCR问题,也没人回答

xiaosi4081 发表于 2020-7-29 14:23:52

hrp 发表于 2020-7-29 14:21
TurboGears 1.5 requires a Python version between 2.4 and 2.7.

TurboGears 1.5 要求 Python 版本是2. ...

那有没有python3的web模块呀?

hrp 发表于 2020-7-29 14:55:36

xiaosi4081 发表于 2020-7-29 14:23
那有没有python3的web模块呀?

试试 pip install TurboGears2
页: [1]
查看完整版本: 安装turbogears报错