FreeCAD-Bundle
FreeCAD-Bundle copied to clipboard
Fem conflict with h5py?
I tried to compile the 0.20 src code, run the FreeCAD.exe, after type in "import Fem" in python console, then type in "import h5py" in python console `
import Fem import h5py Traceback (most recent call last): File "", line 1, in
File "H:\workspace\CAD\FreeCAD-master\Freecad_build\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in import return original_import(name, *args, **kwargs) File "H:\workspace\CAD\FreeCAD-master\Freecad_build\bin\lib\site-packages\h5py_init.py", line 33, in from . import version File "H:\workspace\CAD\FreeCAD-master\Freecad_build\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import return original_import(name, *args, **kwargs) File "H:\workspace\CAD\FreeCAD-master\Freecad_build\bin\lib\site-packages\h5py\version.py", line 15, in from . import h5 as h5 File "H:\workspace\CAD\FreeCAD-master\Freecad_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 "H:\workspace\CAD\FreeCAD-master\Freecad_build\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature.py", line 142, in _import return original_import(name, *args, **kwargs) ImportError: DLL load failed while importing defs: Can not find the specified program`
after type in "import h5py" in python console, then type in "import Fem" in python console `
import h5py import Fem Traceback (most recent call last): File "", line 1, in
File "H:\workspace\CAD\FreeCAD-master\Freecad_build\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import return original_import(name, *args, **kwargs) ImportError: DLL load failed while importing Fem: Can not find the specified program`
why? how to fix it?