-
Notifications
You must be signed in to change notification settings - Fork 65
FreeCAD is unable to install the Python dependency for Sheetmetal (Networkx). When I launch FC, it shows "Networkx missing" error. #461
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
Comments
This is an addon manager error, not sheetmetal. Sometimes the dependency servers are busy. Try waiting some time, uninstall and reinstall again. |
I concede that this may not be an error from the addon. If the server takes excessive time to respond, FC should wait and inform the user that the servers are busy, try after some time. It is ok if a manual installation is indeed available. Clearly, FC does not handle this well. Logically, someone should be in charge of this. |
Thanks for being persistent. You are correct that the Addon Manager needs loads more polish and development.
This is an upstream FreeCAD main issue so it's more appropriate for https://github.com/FreeCAD/FreeCAD/issues All currently open addon manager tickets: https://github.com/FreeCAD/FreeCAD/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22Mod%3A%20Addon%20Manager%22 |
Hi, you can install it manually, try this command: Please make sure your local python version is the same as the FreeCAD. |
Oops, seems you are using windows, you might need to find the path of |
for windows use |
Some users, especially Windows users who don't necessarily work in the Command Prompt very often or at all may find it easier to just have a macro that they can edit (just line 1) when needed such as:
|
@Syres916 , nice! |
Absolutely no issue with you adding it, we may have to modify it in the future for Snap users, there's some issue with the actual pip that gets run, see FreeCAD/FreeCAD#19384 |
While trying this solution, I found that pip command does not run in my laptop. At this rate, the solution is getting out of my hand fast, as I am not familiar with Python system. So all these steps are unwarranted work for users like me. |
FWITW I have raised this bug at FreeCAD Github. |
reposting: |
@shaise as expected the update to AddonManager broke my previous code, hopefully this will work for a while:
|
@Syres916 , |
Plenty of testing on Linux and Windows but I've no access to a Mac or any variety of Snap builds but here's a list that were all successful back to 0.21.1:
Upcoming version 1.0.1:
|
@shaise the 1.1dev AddonManager (hopefully) has been fixed with regard to Snaps and AppImages (commit) and I've amended the macro above to include the Snap fix. The 1.0 branch should get the backport of the fix so in 1.0.1 this Python dependencies will be picked up correctly but there's always going to be a lag after release so it's probably a good idea to have this as an option available even if discretely in the menu somewhere. |
Thanks. I'm messing up with the code now quite a lot (fixing the tools to reduce core code, and adding some ui) Hopefully I'll have something stable soon |
I'm glad I noted all the builds that I tested my code on because the latest 40408 is already been broken, too many changes going on at the moment. |
Describe your issue
I followed these instructions.
FreeCAD version info + SheetMetal WB version
Put here any screenshots or videos (optional)
No response
The text was updated successfully, but these errors were encountered: