问题描述
我跑步时
pip install scikit-sparse
/Users/daniel/dev/transportMaps/tm_ls/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API,disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API,disable it with " \
^
In file included from sksparse/cholmod.c:612:
sksparse/cholmod_backward_compatible.h:1:10: Fatal error: 'cholmod.h' file not found
#include "cholmod.h"
^~~~~~~~~~~
1 warning and 1 error generated.
error: command 'xcrun' Failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for scikit-sparse
Running setup.py clean for scikit-sparse
Failed to build scikit-sparse
如果需要,我可以发布完整的消息,但是很长。在此之前,我已经设置了虚拟环境,并且仅运行以下命令:
brew install llvm
brew install gfortran
brew install python3
pip install --upgrade pip
pip install --upgrade numpy
鉴于错误的'xcrun'组件,我认为这与Xcode有关?只有我没有安装/从未使用过。
请让我知道是否可以提供其他信息来澄清此问题!谢谢!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)