google-code-export / winpython

Automatically exported from code.google.com/p/winpython
2 stars 1 forks source link

tables package not working (Could not load "hdf5dll.dll") #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce the problem:
1. I installed WinPython 2.7.5.1 in c:\WinPython\WinPython-32bit-2.7.5.1\ 
(WinXP)
2. Started c:\WinPython\WinPython-32bit-2.7.5.1\WinPython Interpreter.exe
3. Tried to import tables:

Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tables
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\WinPython\WinPython-32bit-2.7.5.1\python-2.7.5\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
>>>

It looks like there is a path missing?

>>> import os
>>> print(os.environ["PATH"])
C:\WinPython\WinPython-32bit-2.7.5.1\python-2.7.5\Lib\site-packages\PyQt4;C:\Win
Python\WinPython-32bit-2.7.5.1\python-2.7.5\;C:\WinPython\WinPython-32bit-2.7.5.
1\python-2.7.5\DLLs;C:\WinPython\WinPython-32bit-2.7.5.1\python-2.7.5\Scripts;C:
\WinPython\WinPython-32bit-2.7.5.1\python-2.7.5\..\tools;C:\WinPython\WinPython-
32bit-2.7.5.1\python-2.7.5\..\tools\gnuwin32\bin;C:\WinPython\WinPython-32bit-2.
7.5.1\python-2.7.5\..\tools\mingw32\bin;C:\Python27\Lib\site-packages\PyQt4\bin;
C:\Python26\;C:\Python26\Scripts;C:\Program Files\CollabNet\Subversion Client;C:
\Ruby187\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOW
S;C:\WINDOWS\System32\Wbem;C:\WINDOWS\AutoInst\Tools;C:\Program Files\Intel\WiFi
\bin\;C:\Program Files\Windows Imaging\;C:\Program Files\Microsoft SQL Server\90
\Tools\binn\;C:\Program Files\Mercurial;z:\vagrant\vagrant\bin;C:\Program Files\
TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\;%APPDATA%\Python\Scripts;C:
\Program Files\SSH Communications Security\SSH Secure Shell;C:\Program Files\IDM
 Computer Solutions\UltraEdit\;C:\WinPython\WinPython-32bit-2.7.5.1\python-2.7.5
\..\tools\TortoiseHg
>>>

Or is it a problem with tables 3.0.0rc3?

The file hdf5dll.dll is definitely there:
c:\WinPython\WinPython-32bit-2.7.5.1\python-2.7.5\Lib\site-packages\h5py\hdf5dll
.dll

Thank you for your help!
Best regards,
Marcel

Original issue reported on code.google.com by mlue...@mlsystems.ch on 9 Aug 2013 at 12:42

GoogleCodeExporter commented 9 years ago
The HDF5 DLLs included with PyTables are not compatible with Windows XP.

Original comment by cjgoh...@gmail.com on 9 Aug 2013 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by pierre.raybaut on 10 Aug 2013 at 12:15