我正在尝试qutip
在 Mac(Catalina 10.15.6)上安装。我在用:
- 蟒蛇 3.8.3
- 蟒蛇4.8.4
我使用命令创建一个虚拟环境conda create -n qutip python=3.8 anaconda
。这是错误消息:
g++ -bundle -undefined dynamic_lookup -
L/usr/local/anaconda3/envs/qutip/lib -arch x86_64 -L/usr/local/anaconda3/envs/qutip/lib -arch x86_64 /usr/local/opt/readline/include -arch x86_64 build/temp.macosx-10.9-x86_64-3.7/qutip/cy/spmatfuncs.o build/temp.macosx-10.9-x86_64-3.7/qutip/cy/src/zspmv.o -o build/lib.macosx-10.9-x86_64-3.7/qutip/cy/spmatfuncs.cpython-37m-darwin.so -mmacosx-version-min=10.9
ld: can't map file, errno=22 file '/usr/local/opt/readline/include' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for qutip
Failed to build qutip
ERROR: Could not build wheels for qutip which use PEP 517 and cannot be installed directly
我环顾四周,我没有看到任何最近的事情。我试图从源代码安装 qutip,我得到了同样的错误。有人有想法吗?谢谢你。