import h5py error

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
x70
Posts: 14
Joined: Mon Oct 05, 2020 3:42 pm

import h5py error

Postby x70 » Thu May 06, 2021 3:18 pm

I compiled the release version 0.19,and pip h5py,but when excute error occured.

Code: Select all

  
  import h5py
  File "FreeCAD-releases-FreeCAD-0-19\build\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "FreeCAD-releases-FreeCAD-0-19\build\bin\lib\site-packages\h5py\__init__.py", line 33, in <module>
    from . import version
  File "FreeCAD-releases-FreeCAD-0-19\build\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "FreeCAD-releases-FreeCAD-0-19\build\bin\lib\site-packages\h5py\version.py", line 15, in <module>
    from . import h5 as _h5
  File "FreeCAD-releases-FreeCAD-0-19\build\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "h5py\h5.pyx", line 1, in init h5py.h5
  File "FreeCAD-releases-FreeCAD-0-19\build\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
    
    DLL load failed while importing defs: The specified application could not be found.
    
someone has encountered this problem? and give me some suggestion?