Closed GoogleCodeExporter closed 9 years ago
It seems you are NOT using the updated tables plugin. The version should is
3.0.0-2 and it depends on h5py. The above DLL names are no longer used in most
pxy plugins.
remove your c:\python27\Lib\site-pacakges\tables-* and re-install
https://pythonxy.googlecode.com/files/pytables-3.0.0-2_py27.exe .
Original comment by grizzly.nyo
on 10 Oct 2013 at 9:53
I'm having the same problem.
Did have previous version of python(x,y) v 2.7.5.0.
PyTables _did_ work with this version.
Uninstalled it.
Did standard install of python(x,y) 2.7.5.1, Win 7 64-bit.
No extra packages, standard user, but installed with admin privileges for all
users.
>>> import tables
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\tables\__init__.py", line 65, in <module>
'Could not load "hdf5dll.dll", please ensure'
ImportError: Could not load "hdf5dll.dll", please ensure that it can be found
in the system path
Deleted the directories:
C:\Python27\Lib\site-packages\tables
C:\Python27\Lib\site-packages\tables-3.0.0-py2.7.egg-info
Reinstalled just PyTables from
https://pythonxy.googlecode.com/files/pytables-3.0.0-2_py27.exe
Still same problem.
Original comment by pacqa...@yahoo.com.au
on 11 Oct 2013 at 4:05
Ok, looked into this further. pytables is hard coded to check for the above
DLLs.
edit C:\Python27\Lib\site-packages\tables\__init__.py and comment out lines 63
to 66
# if not _load_library('hdf5.dll', ctypes.cdll.LoadLibrary):
# raise ImportError(
# 'Could not load "hdf5.dll", please ensure'
# ' that it can be found in the system path')
And test again.
Original comment by grizzly.nyo
on 11 Oct 2013 at 6:28
I did not use the updated tables plugin, I used the one that was shipping
with the installer. It was already there but did not import correctly.
The code here tests for 'hdf5dll.dll" which was missing. If I commented the
lines below out, it seemed to work.
#if not _load_library('hdf5dll.dll', ctypes.cdll.LoadLibrary):
# raise ImportError(
# 'Could not load "hdf5dll.dll", please ensure'
# ' that it can be found in the system path')
Thanks for your help
Original comment by bobat...@gmail.com
on 11 Oct 2013 at 7:02
OK, success for me too.
Thanks for this.
Will this update be added into the next bug fix for python(x,y)?
Original comment by pacqa...@yahoo.com.au
on 11 Oct 2013 at 10:39
Offcourse. I'll release 2.7.5.2 soon enough.
Original comment by grizzly.nyo
on 18 Oct 2013 at 6:50
Original comment by grizzly.nyo
on 9 Jan 2014 at 9:27
Original issue reported on code.google.com by
bobat...@gmail.com
on 9 Oct 2013 at 10:50