我试图通过their webpage中提到的pip方法安装QISKit。
然而,经过多次试验后,这种方法似乎不起作用,我在终端上收到以下错误。
Compiling QISKit C++ Simulator
creating out
WARNING: Seems like the cpp simulator can't be built, Qiskit will install anyway, but won't have this simulator support.
installing to build/bdist.macosx-10.6-x86_64/wheel
running install
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
running install_egg_info
Copying qiskit.egg-info to build/bdist.macosx-10.6-x86_64/wheel/qiskit-0.4.9.data/purelib/qiskit-0.4.9-py3.5.egg-info
error: [Errno 2] No such file or directory: 'qiskit.egg-info'
----------------------------------------
Failed building wheel for qiskit (*)
Running setup.py clean for qiskit
Failed to build qiskit
Installing collected packages: Sphinx, qiskit
Found existing installation: Sphinx 1.4.6
Cannot remove entries from nonexistent file /Users/photon/anaconda3/lib/python3.5/site-packages/easy-install.pth (*)
其中以(*)结尾的行在终端中为红色。
我该如何解决这个问题?