我正在尝试从mac终端安装ipopt,但遇到以下错误: terminal
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.6/src/callback.o build/temp.macosx-10.6-intel-3.6/src/pyipoptcoremodule.o -L/usr/local/lib -lipopt -lcoinblas -lcoinmumps -lcoinmetis -lcoinlapack -ldl -lm -o build/lib.macosx-10.6-intel-3.6/pyipopt/pyipoptcore.cpython-36m-darwin.so
ld:
library not found for -lipopt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' failed with exit status 1
ipopt
库丢失。试试看brew install homebrew/science/ipopt
然后再次运行
pip install ipopt
。在我不确定是否太迟了,但你可以在这里试试
其中包括您前面提到的丢失的文件
Ipopt/src/Interfaces/IpIpStdCInterface.h
相关问题 更多 >
编程相关推荐