Reputation: 3035
I am getting the following error when importing PyTables in Ubuntu 13.04 in IPython:
In [1]: from tables import *
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-4c3ea368be2a> in <module>()
----> 1 from tables import *
/usr/local/lib/python2.7/dist-packages/tables/__init__.py in <module>()
80
81 # Necessary imports to get versions stored on the cython extension
---> 82 from tables.utilsextension import (get_pytables_version, get_hdf5_version,
83 getPyTablesVersion, getHDF5Version) # Pending Deprecation!
84
ImportError: libhdf5.so.8: cannot open shared object file: No such file or directory
I have already taken the following actions:
Appreciate your help.
Upvotes: 3
Views: 3138
Reputation: 46596
Your problem is that the pytables
package is compiled against libhdf5.so.8
and currently in the ubuntu repository you only have libhdf5-7 :( Also, nothing in the updates :(
Ubuntu repository for 13.04 is full of unsatisfied dependencies :( I really don't know what happened to Ubuntu, but the current state is terrible. At the moment, if you install it, you cannot even install g++. :-/
I suggest you install Anaconda or Canopy. They are both standalone binary distribution of Python that have all the scientific libraries precompiled for you, so you wont need any other dependency library. They ship the whole thing.
I ended up using Anaconda cause their package manager (conda
) is pretty nifty.
Upvotes: 3