-
Notifications
You must be signed in to change notification settings - Fork 6
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
"No module named pkg_resources." Undeclared dependency package? #31
Comments
The packages, python libraries that it uses are, see metadata file
So ply and ezdxf The message
When it says ModuleNotFound it could be looking for ply given it looks like you have ezdxf installed. But if it is an issue with the addon manager and nix, I would try From the freecad console
Then choose the most appropriate path On my MacOS I would use
Now FreeCAD is using python3.11 so I make sure in command line mode I am using python3.11
Then
Let me know how you get on. |
I tried again after simply installing Printing sys.path... I'll format it for you, because there's a quirk on Nix that makes this string really long: most packages are packed into a folder with some hash for a prefix. Example, one entry looks like Question for you, some of these path entries are duplicates, is that weird?
|
I think you need to ask in the FreeCAD forum https://forum.freecad.org I asked ChatGPT and it came up with the following ( Note ChatGPT does not always know the correct answers) |
Hi, I wanted to try out your addon but I can't get it started for some reason.
I am using NixOS, so my setup may be a little weird, but I did figure out how to install the dependencies the Addon Manager called for. It didn't let me install the addon until I had set up the library
ezdxf
, for one.Yet, even with that, the extension crashes on startup.
I'm not actually sure what other info would help. Ask anything.
The text was updated successfully, but these errors were encountered: