Pytables 2.3.1 with Python 2.5 on Windows: Error - could not find a local hdf5 installation

三世轮回 提交于 2019-12-24 08:35:06

问题


I'm trying to install PyTables 2.3.1 on Windows XP with Python 2.5. I'm getting the following 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.

I'm a bit confused by the installation of the HDF5 library. I downloaded the Windows binary called HDF5188-win32-shared.zip from the HDF5 site and ran the .exe file in the zip archive. I now have what looks like an installation of the HDF5 library in this folder:

C:\Program Files\HDF Group\HDF5\1.8.8

I've tried creating an environment variable called HDF5_DIR pointing to this folder, but still no joy. I'm obviously not installing the right bit of the HDF5 library, but I don't know what I should be doing instead.

Does anyone have any suggestions, please?

Thanks!


回答1:


from the docs you can try: Put the DLL libraries (hdf5dll.dll and, optionally, lzo1.dll and bzip2.dll)

in a directory listed in your PATH environment variable

. The setup.py installation program will print out a warning to that effect if the libraries can not be found.

locate

hdf5dll.dll

and make sure dir containig it is in the PATH var or you can try --hdf5=path/to/ command



来源:https://stackoverflow.com/questions/10042915/pytables-2-3-1-with-python-2-5-on-windows-error-could-not-find-a-local-hdf5-i

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!