2

在使用 Python 3.7 在 Ubuntu 20.04 中安装 Spyder 时出现此错误。它可以完美地与 Python 3.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
4

0 回答 0