Start FreeCAD v0.18
Without opening a file, change from Start workbench to Path workbench
Error window pops up
Window Title: Workbench Failure
Window Text: No module named pivy
locate pivy shows
/usr/share/doc/python3-pivy/ folder and sub-folders
as well as
/usr/lib64/python3.7/site-packages/pivy/
FreeCAD does not add any tools to the 'ribbon'
I suspect this is because pivy cannot be found
dnf list installed | grep pivy returns:
python3-pivy.x86_64 0.6.5-0.1.fc30 @fedora
Changing path environment variable to include /usr/lib64/python3.7/site-packages/pivy/ did not help - - Path workbench still throws pivy error,
How do I get FreeCAD to find pivy?
OS: Linux (Fedora 30)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.Unknown
Build type: Unknown
Python version: 2.7.15
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18
Locale: English/UnitedStates (en_US)
Path workbench throws a "No module named pivy" error
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Path workbench throws a "No module named pivy" error
Freecad is build with python2.7 but pivy is build with python3.7. The python version (major.minor) of compiled binaries must always match.
Re: Path workbench throws a "No module named pivy" error
I had to go to https://koji.fedoraproject.org
and search for pivy. Of the 31 matches I had to search for the python2 version.
I downloaded the rpm and installed with dnf and it seems to work.
and search for pivy. Of the 31 matches I had to search for the python2 version.
I downloaded the rpm and installed with dnf and it seems to work.
Re: Path workbench throws a "No module named pivy" error
If you installed that from a package, you should talk to the package maintainer, the libs versions are pathetically obsolete. Look at the difference between yours and Kubuntu 18.04 FreeCAD daily PPA. With OCC less than 7.3 for example, you are missing some functionality in your FreeCAD.
OS: Ubuntu 18.04.2 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
Re: Path workbench throws a "No module named pivy" error
@ruchg: did you get the FreeCAD package from the official fedora repo? I'm having problems with pivy as well, but I do local or COPR compilation [1].
[1] https://copr.fedorainfracloud.org/
[1] https://copr.fedorainfracloud.org/