PyTables: Cannot import pytables on windows, python 3.8
- python 3.8
- pytables 3.7.0
- windows
- installed via
pip install tables
import tables
...\site-packages\tables\__init__.py", line 45, in <module>
from .utilsextension import get_hdf5_version as _get_hdf5_version
ImportError: DLL load failed while importing utilsextension: The specified module could not be found
This seems to indicate that something is not getting registered properly on windows, python 3.8. Why is it unable to find utilsextension?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (12 by maintainers)
The
tables-3.7.0wheels for Windows on PyPI have the following code added to__init__.py:Apparently this does not work as expected using miniconda:
Adding
from . import utilsextensionright afteros.add_dll_directory(libs_dir)works (thebzip2.dllnot found isue is already fixed in master):Output from
pip install tables