ImportError HDFStore requires PyTables No module named tables
Solution 1:
Simply updating pytables
with:
pip install --upgrade tables
worked for me.
Solution 2:
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.
Solution 3:
On Ubuntu, I solved this problem using this command:
sudo apt-get install python3-tables
Note that I am using Python 3