在使用Python 3.7的Ubuntu 20.04中安装Spyder时出错

2024-09-30 06:11:33 发布

您现在位置:Python中文网/ 问答频道 /正文

我在使用Python3.7在Ubuntu20.04中安装Spyder时遇到了这个错误。它与Python3.8完美地安装在一起,没有任何问题。请帮助修复此错误

Building wheels for collected packages: psutil, ujson
  Building wheel for psutil (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/ranick/.virtualenvs/ml/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gkngqlcn/psutil/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gkngqlcn/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ioxnwy6h
       cwd: /tmp/pip-install-gkngqlcn/psutil/
  Complete output (44 lines):
  running bdist_wheel

Tags: installpippyfor错误syssetupopen

热门问题