未找到mac-hdf5.h文件上的mac / h5py设置上的燃料设置

时间:2015-07-24 20:02:19

标签: python macos hdf5

我正在尝试在Mac上安装HDF5并收到错误消息:

fatal error: 'hdf5.h' file not found

由于一些原因,这让我感到困惑。

首先,我能够在Finder中找到有问题的文件...在2011年显然创建的文件夹中。我在2013年买了新的笔记本电脑。所以看起来HDF5应该已经在我的电脑上?但是我今天早些时候试图安装燃料,它让我误解了这个错误:

clang: error: linker command failed with exit code 1 (use -v to see invocation)
.. ERROR:: Could not find a local HDF5 installation.
   You may need to explicitly state where your local HDF5 headers and
   library can be found by setting the ``HDF5_DIR`` environment
   variable or by using the ``--hdf5`` command-line option.
error: Setup script exited with 1

我尝试将有问题的文件夹移动到我用h5py程序下载的文件夹中,但是当我再次尝试安装HDF5时出现了同样的问题(fatal error: 'hdf5.h' file not found)。

之前有没有其他人遇到这样的问题?我已经搜索了错误消息,但似乎无法找到一个好的答案(特别是对于程序无法找到显然在我的计算机上的文件的问题)。这是我第一次安装Python软件包,所以任何提示都会受到赞赏!

0 个答案:

没有答案