Python osx上的healpy安装:找不到cfitsio
我正试图在我的Mac OSX 10.8.5机器上安装healpy。我从下载了最新的副本,将其解压缩并尝试了以下命令:Python osx上的healpy安装:找不到cfitsio,python,macos,healpy,Python,Macos,Healpy,我正试图在我的Mac OSX 10.8.5机器上安装healpy。我从下载了最新的副本,将其解压缩并尝试了以下命令: python setup.py build 正如文档中所说,但我一直得到以下错误: checking if library 'cfitsio' is installed error: No such file or directory 1) 我确实有,如果我没有,它说应该没问题,因为它都包含在文件夹中 因此,我尝试使用pip再次执行此操作: pip install heal
python setup.py build
正如文档中所说,但我一直得到以下错误:
checking if library 'cfitsio' is installed
error: No such file or directory
1) 我确实有,如果我没有,它说应该没问题,因为它都包含在文件夹中
因此,我尝试使用pip再次执行此操作:
pip install healpy
得到了同样的错误
有人能帮我吗
谢谢可能更适合?我认为“没有这样的文件或目录”有点像是在转移视线,不适用于“cfitsio”。您是否尝试过
sudo pip install healpy
或pip install healpy--user
?是的,我尝试了这两种方法,两次都收到了相同的消息。您能将所有输出粘贴到一个吗?从macports安装怎么样?