我要安装ClientForm,这是python模块,但是在安装过程中出现此错误,有人可以帮助我吗?
python -m pip install ClientForm
Collecting ClientForm
Using cached ClientForm-0.2.10.tar.gz (104 kB)
ERROR: Command errored out with exit status 1:
command: 'C:\Users\paulo\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\paulo\\AppData\\Local\\Temp\\pip-install-tava6mrg\\clientform\\setup.py'"'"'; __file__='"'"'C:\\Users\\paulo\\AppData\\Local\\Temp\\pip-install-tava6mrg\\clientform\\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\paulo\AppData\Local\Temp\pip-pip-egg-info-s3ag4apt'
cwd: C:\Users\paulo\AppData\Local\Temp\pip-install-tava6mrg\clientform\
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\paulo\AppData\Local\Temp\pip-install-tava6mrg\clientform\setup.py", line 13
False, True = 0, 1
^
SyntaxError: cannot assign to False
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
答案 0 :(得分:3)
ClientForm与last released in 2008是同一天the first Python 3.0 release。它的作者认为它是废弃的,而推荐使用mechanize包。
它与您要安装的Python 3版本不兼容。
检查机械化包装。