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

The workbench does not open in the Flatpak version of FreeCad. Solution provided. #155

Open
TheOldMiguel opened this issue Feb 25, 2024 · 1 comment

Comments

@TheOldMiguel
Copy link

TheOldMiguel commented Feb 25, 2024

When using the FlatPak version, a required dependency (scipy) is not installed and the workbench wont open. (Error: Module scypi not found)

This can most likely be fixed by adding the following line to package.xml:

<depend>scipy</depend>

as it was done in the FEMbyGEN workspace:

https://github.com/Serince/FEMbyGEN/blob/master/package.xml

in this way, the scipy dependendy will be installed to the correct folder for the flatpak:
~/.var/app/org.freecadweb.FreeCAD/data/FreeCAD/AdditionalPythonPackages/py311

The dependency should then also be listed in the Addon manager under the "Python dependencies..." button.

Thanks everyone for this great workbench!

@nicbn
Copy link

nicbn commented Feb 28, 2024

Also having this problem. Following work-around works while the package.xml is not fixed:

flatpak run --command=bash org.freecadweb.FreeCAD
cd  ~/.var/app/org.freecadweb.FreeCAD/data/FreeCAD/AdditionalPythonPackages/py311
pip3 install scipy --target .

(The path AdditionalPythonPackages/py311 may need to be created via mkdir).

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

2 participants