Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Upgrading PyTables from PyPi proceeds but the DLL is not working on WinPython-3.6.1 #543

Closed
@ankostis

Description

@ankostis

Hi @stonebig, my apologies if this is a well-known issue in general:

The PyTables project pushes also Windows binary wheels into PyPi
but when I try to upgrade to them, the resulting package is non-functional, at least on WinPython-3.6.1:

$ pip install tables
Collecting tables
  Downloading tables-3.4.0-cp36-cp36m-win_amd64.whl (2.5MB)
    100% |████████████████████████████████| 2.5MB 199kB/s
Requirement already satisfied: numpy>=1.8.0 in d:\apps\winpython-64bit-3.6.1.0qt5\python-3.6.1.amd64\lib\site-packages (from tables==v3.4.0)
Requirement already satisfied: six in d:\apps\winpython-64bit-3.6.1.0qt5\python-3.6.1.amd64\lib\site-packages (from tables==v3.4.0)
Requirement already satisfied: numexpr>=2.5.2 in d:\apps\winpython-64bit-3.6.1.0qt5\python-3.6.1.amd64\lib\site-packages (from tables==v3.4.0)
Installing collected packages: tables
Successfully installed tables-3.4.0

$ python -c 'import tables'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "D:\Apps\WinPython-64bit-3.6.1.0Qt5\python-3.6.1.amd64\lib\site-packages\tables\__init__.py", line 74, in <module>
    ' that it can be found in the system path' % hdf5_dlls)
ImportError: Could not load any of ['hdf5.dll', 'hdf5dll.dll'], please ensure that it can be found in the system path

But if I use Gohlke's unofficial, it works fine.

Inside the installed packages, in both cases, the DLLs exist, but they are different:

## Gohlke's unofficial:
$ sha256sum.exe */d/apps/winpython-64bit-3.6.1.0qt5/python-3.6.1.amd64/lib/site-packages/tables/hdf5.dll
5eb2c58ff1383cfeebbb9889bd30a8b8aa8829297a0716d914cce4f410c58c21 */d/tmp/PyTablesPACKAGE-WinPy3.6.1-3.4.2/tables/hdf5.dll
(
## From PyPi:
$ sha256sum.exe /d/tmp/PyTablesPACKAGE-WinPy3.6.1-3.4.2/tables/hdf5.dll
5eb2c58ff1383cfeebbb9889bd30a8b8aa8829297a0716d914cce4f410c58c21 */d/tmp/PyTablesPACKAGE-WinPy3.6.1-3.4.2/tables/hdf5.dll

So the problem is that the DLLs are incombatible.

Why is that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions