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

ezdxf dependancy undeclared in freecad #92

Open
ksamak opened this issue Dec 15, 2024 · 2 comments
Open

ezdxf dependancy undeclared in freecad #92

ksamak opened this issue Dec 15, 2024 · 2 comments

Comments

@ksamak
Copy link

ksamak commented Dec 15, 2024

i saw an error when importing a .f3d in the console:

11:25:22 Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ksamak/.local/share/FreeCAD/Mod/InventorLoader/./importerIL.py", line 8, in
import os, sys, FreeCAD, FreeCADGui, importerSAT, importerDXF, Import_IPT, importerF3D
File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ksamak/.local/share/FreeCAD/Mod/InventorLoader/./importerDXF.py", line 8, in
from ezdxf import readfile
File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<class 'ModuleNotFoundError'>: No module named 'ezdxf'

So i just installed the module. It works now.
i guess it should be declared as dependancy before installing the bench
Thanks for your works!

sys: Debian 6.1.119-1 stable

@luzpaz
Copy link
Contributor

luzpaz commented Dec 15, 2024

What version of FreeCAD and Inventor Loader addon are you using ?
Paste full About info please

@jmplonka
Copy link
Owner

This could happen, if an earlyer version was used. Please try to uninstall and than reinstall the plugin.

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

No branches or pull requests

3 participants