Missing optional dependency 'tables'. In pandas to_hdf
I got it to work by using
conda install snappy
For conda users:
conda install pytables
- The issue was with
- When i was installing
tablesusing pip into local user directory using following command it's not working.
pip install --user tables
import tableswill result in this error.
ImportError: Could not load any of ['hdf5.dll', 'hdf5dll.dll'], please ensure that it can be found in the system path
The solution that worked for me is to uninstall tables. And install it into python's directory. (or where your python is installed).
without --user option. You may require admin/root access for this depending upon location of your python.
- For me my python path was
C:\Program Files\Python37-64\python.exeand installing under
c:\program files\python37-64\lib\site-packages\worked for me.
- Hope this helps. I don't know why installing in user directory is not working for tables. If anyone can find the reason for that please post here.