【发布时间】:2019-07-23 18:31:58
【问题描述】:
我正在尝试使用 pip 在运行 Python 3.7 的elementaryOS juno 上安装Qiskit。我什至升级到最新的点子。
我得到以下日志:
Building wheels for collected packages: qiskit
Building wheel for qiskit (setup.py) ... error
ERROR: Command errored out with exit status 255:
command: /home/laura/.pyenv/versions/anaconda3-2019.03/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-p35oetbg/qiskit/setup.py'"'"'; __file__='"'"'/tmp/pip-install-p35oetbg/qiskit/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-2ms47shp --python-tag cp37
cwd: /tmp/pip-install-p35oetbg/qiskit/
Complete output (1 lines):
running bdist_wheel
----------------------------------------
ERROR: Failed building wheel for qiskit
Running setup.py clean for qiskit
Failed to build qiskit
Installing collected packages: qiskit
Running setup.py install for qiskit ... done
Successfully installed qiskit-0.11.0
【问题讨论】:
-
表示安装成功。什么不起作用?
-
它说:错误:命令出错,退出状态为 255:----------------- ----------- 错误:无法为 qiskit 构建轮子为 qiskit 运行 setup.py clean”我似乎无法将模块导入 pycharm...
-
我一直在读那个。但是我们仍然不知道什么不起作用。只有一条消息。您没有说明安装后软件包是否出现故障。