Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fem conflict with h5py? #66

Open
arthurx70 opened this issue May 11, 2021 · 0 comments
Open

Fem conflict with h5py? #66

arthurx70 opened this issue May 11, 2021 · 0 comments

Comments

@arthurx70
Copy link

arthurx70 commented May 11, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant