「釀造升級」後,我發現我不能在我的Mac上使用Pytables。圖書館未加載:/usr/local/lib/libhdf5.9.dylib
import tables as tb
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-29-57032f570037> in <module>()
----> 1 import tables as tb
/usr/local/lib/python2.7/site-packages/tables/__init__.py in <module>()
80
81 # Necessary imports to get versions stored on the cython extension
---> 82 from tables.utilsextension import (
83 get_pytables_version, get_hdf5_version, blosc_compressor_list,
84 blosc_compcode_to_compname_ as blosc_compcode_to_compname,
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/tables/utilsextension.so, 2): Library not loaded: /usr/local/lib/libhdf5.9.dylib
Referenced from: /usr/local/lib/python2.7/site-packages/tables/utilsextension.so
Reason: image not found
我發現,而不是在目錄中有libhdf5.9.dylib,我有libhdf5.10.dylib現在。
我可以卸載並安裝HDF5沒有問題,我也試圖重新安裝表。
我不知道如何解決這個問題。