Numpy 在macOS10.15.6上安装scikit稀疏包时发生致命错误

Numpy 在macOS10.15.6上安装scikit稀疏包时发生致命错误,numpy,installation,build,warnings,xcrun,Numpy,Installation,Build,Warnings,Xcrun,当我跑的时候 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 "

当我跑的时候

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有关?只是我没有安装/从未使用过

让我知道,如果有额外的信息,我可以包括澄清这个问题!谢谢