ImportError HDFStore requires PyTables No module named tables ImportError HDFStore requires PyTables No module named tables python python

ImportError HDFStore requires PyTables No module named tables


Simply updating pytables with:

pip install --upgrade tables

worked for me.


I also had the same error when using HDFStore. And I tried all the steps specified above and spent many hours to find a solution, but non of them were successful.

Then I downloaded and installed MiniConda. And then I used the below command to install pytables.

conda install -c conda-forge pytables

Please refer the below screenshot.

enter image description here


On Ubuntu, I solved this problem using this command:

sudo apt-get install python3-tables

Note that I am using Python 3