- Screenshot from 2020-06-19 14-34-10.png (263.07 KiB) Viewed 3461 times
- FreeCAD.log
- (20.14 KiB) Downloaded 75 times
Error message before installing PyQt5 with pip:triplus wrote: ↑Thu Jun 18, 2020 10:04 pm In addition i did a few quick tests (installed PyQt5 with PIP), and my self compiled FreeCAD, FreeCAD daily from PPA (Ubuntu 16.04) and the daily AppImage work just fine.
Therefore i guess we need to better understand, on why "FreeCAD Ext modules support" has issues with such packages on some systems and not on others.
This likely has borked a few things too. Bottom line, you don't need to install any of this, FreeCAD from repository or PPA will take care of the dependencies. Or download the AppImage, make it executable and run it after:I have tried installing Qt from sources, but this has given me Qt6 which also seems incompatible.
https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
All dependencies are included.
cannot import name 'QtCore' from 'PyQt5' (unknown location)
Code: Select all
dave@Tufness:~$ python -m pip install PyQt5
Collecting PyQt5
Using cached PyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl (76.6 MB)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in ./.local/lib/python3.8/site-packages (from PyQt5) (12.8.0)
Installing collected packages: PyQt5
Successfully installed PyQt5-5.15.0
So, on the one hand, it says it can find Qt5, but not the right version, but the version is the correct one./lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/dave/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)
Code: Select all
dave@Tufness:~$ python -m pip uninstall PyQt5
Found existing installation: PyQt5 5.15.0
Uninstalling PyQt5-5.15.0:
Would remove:
/home/dave/.local/bin/pylupdate5
/home/dave/.local/bin/pyrcc5
/home/dave/.local/bin/pyuic5
/home/dave/.local/lib/python3.8/site-packages/PyQt5-5.15.0.dist-info/*
/home/dave/.local/lib/python3.8/site-packages/PyQt5/*
Would not remove (might be manually added):
/home/dave/.local/lib/python3.8/site-packages/PyQt5/sip.cpython-38-x86_64-linux-gnu.so
Proceed (y/n)? y
Successfully uninstalled PyQt5-5.15.0
See this post: https://forum.freecadweb.org/viewtopic. ... 60#p396652
I deleted (or, rather, moved) my ~/.FreeCAD hidden directory and the message has changed slightly./lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/dave/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)
dave@Tufness:/opt/FreeCAD-0.19_pre/freecad-build$ bin/FreeCAD
FreeCAD 0.19, Libs: 0.19RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
During initialization the error "/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/dave/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)" occurred in /opt/FreeCAD-0.19_pre/freecad-build/Mod/Draft/InitGui.py
Please look into the log file for further information
During initialization the error "/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/dave/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)" occurred in /opt/FreeCAD-0.19_pre/freecad-build/Mod/Arch/InitGui.py
Please look into the log file for further information
During initialization the error "/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/dave/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)" occurred in /opt/FreeCAD-0.19_pre/freecad-build/Mod/Tux/InitGui.py
Please look into the log file for further information
During initialization the error "/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/dave/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)" occurred in /opt/FreeCAD-0.19_pre/freecad-build/Mod/AddonManager/InitGui.py
Please look into the log file for further information
Unknown command 'Std_AddonMgr'
connect failed: No such file or directory
Well, doing this solved my start up errors too.davecoventry wrote: ↑Sat Jun 20, 2020 4:00 pm I've removed the ~/.local/lib/python3.8 directory and it now seems to start ok.