Public bug reported:

After upgrading from Ubuntu 19.10 to 20.04, FreeCAD is no longer able to
open some workbenches, such as Arch or Draft. When I try to open these
workbenches, a dialog pops up that says, "No module named 'PyQt5'". In
the terminal, FreeCAD logs the following:

No module named 'PyQt5'
Traceback (most recent call last):
  File "<string>", line 32, in Initialize
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 41, in <module>
    import sys, os, FreeCAD, FreeCADGui, WorkingPlane, math, re, Draft, 
Draft_rc, DraftVecUtils
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 54, in <module>
    import FreeCADGui, Draft_rc
  File "/usr/share/freecad/Mod/Draft/Draft_rc.py", line 5, in <module>
    from PyQt5 import QtCore

This seems to be a packaging bug, since the AppImage that FreeCAD
provides works fine.

** Affects: freecad (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: pyside-tools (Ubuntu) => freecad (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876184

Title:
  FreeCAD is missing PyQt5 dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1876184/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to