Warning! ***hdf5 Library Version Mismatched Error*** Python Pandas Windows
I'm using pandas/python to save a DataFrame in a HDFStore format. When I apply the my_data_frame.to_hdf(arguments...) command I have an error message:Warning! ***HDF5 library versi
Solution 1:
Try to uninstall h5py module and install it again. This fixed it for me
pip uninstall h5py
pip install h5py
Solution 2:
Headers are 1.8.15, library is1.8.18
Your error information shows, then, that you need install the 1.8.15
version.
conda install -c anaconda hdf5=1.8.15
Solution 3:
For some reason uninstalling with conda and then installing hdf5 again with conda is not working. However, if you use pip to uninstall and then conda to install hdf5, it's working.
So try:
pip uninstall hdf5
conda install hdf5
Solution 4:
The only procedure that worked for me on macOS was to create a virtualenv:
virtualenv -p python3 myenv
. myenv/bin/activate
pip3 install h5py==1.10.4 # or whichever version you want
Absolutely nothing else worked!
You may need a brew install hdf5
github issue that did not help:
Solution 5:
In case someone is having this problem and no amount of uninstalling with pip
or conda
or anything will work: I went through every /lib
path and manually deleted libhdf5*
files, then installed hdf5
with macports
.
Post a Comment for "Warning! ***hdf5 Library Version Mismatched Error*** Python Pandas Windows"