当前位置: 首页 > >

安装wxPython报错??ERROR: Command errored out with exit status 1

发布时间:

现象:
pip install robotframework-ride时
安装wxPython-4.0.7.post2.tar.gz报错:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-cG1Vro/wxpython/setup.py’"’"’; file=’"’"’/tmp/pip-install-cG1Vro/wxpython/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’
’"’"’, ‘"’"’
’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base /tmp/pip-pip-egg-info-RUt4iK
cwd: /tmp/pip-install-cG1Vro/wxpython/
Complete output (1 lines):
error in wxPython setup command: ‘install_requires’ must be a string or list of strings containing valid project/version requirement specifiers
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
解决:pip install setuptools -U



友情链接: