0
点赞
收藏
分享

微信扫一扫

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm



目录


  • ​​问题​​
  • ​​解决方法​​


问题

Python3.7环境下安装PySide

pip install PySide
Collecting PySide
Using cached PySide-1.2.4.tar.gz (9.3 MB)

出现如下问题:

ERROR: Command errored out with exit status 1:
command: 'e:\softinstall\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\zouro\\AppData\\Local\\Temp\\pip-install-1odgzwqu\\PySide\\setup.py'"'"'; __file__='"'"'C:\\Users\\zouro\\AppData\\Local\\Temp\\pip-install-1odgzwqu\\PySide\\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\zouro\AppData\Local\Temp\pip-install-1odgzwqu\PySide\pip-egg-info'
cwd: C:\Users\zouro\AppData\Local\Temp\pip-install-1odgzwqu\PySide\
Complete output (1 lines):
only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

解决方法

根据错误提示可以发现,只有Python2.6、Python2.7、Python3.2、Python3.3、Python3.4支持PySide。想要解决这个问题,可以到 https://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载并安装Python3.7对应的PySide版本即可。

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm_Python



举报

相关推荐

0 条评论