python - ImportError: HDFStore requires PyTables, "No module named tables" -
i followed installation guidelines here. http://www.pytables.org/usersguide/installation.html
so, whenever run command in ipython pytables/build/lib.linux-x86_64-2.7 folder, works fine.
in [1]: import pandas pd
in [2]: store = pd.hdfstore('store.h5')
but whenever run same commands other folders, gives me specified error. pythonpath issue? if yes, how solve it?
to know version of pytables using, execute
python -c 'import tables ; print tables.__file__'
for python 2, or
python3 -c 'import tables ; print(tables.__file__)'
for python 3.
it give path tables library.
the procedure in link gave, executing build directory, test tables library.
to install it, use
python setup.py install --user
it go in ~/.local/lib/python2.7/site-package"
(for linux , python 2, example). should work expect.
Comments
Post a Comment