Error loading QTVCP

More
17 Jul 2023 18:19 #275668 by gardenweazel
Hi Folks,
Any idea what may be causing this import error?

loaded library "libpython3.11.so"
Qtvcp python plugin found: /home/user/.designer/plugins/python/qtvcp_plugin.py
Traceback (most recent call last):
  File "/home/user/.designer/plugins/python/qtvcp_plugin.py", line 23, in <module>
    from qtvcp.plugins.simplewidgets_plugin import *
  File "/home/user/linuxcnc_rip/lib/python/qtvcp/plugins/simplewidgets_plugin.py", line 3, in <module>
    from PyQt5 import QtGui
ImportError: /home/user/.local/lib/python3.11/site-packages/PyQt5/QtCore.abi3.so: undefined symbol: _ZdaPvm, version Qt_5


uname -a:  Linux file03 6.3.0-rt13-linuxcnc #2 SMP PREEMPT_RT Wed May 17 13:07:49 CDT 2023 x86_64 GNU/Linux
LinuxCNC version: latest from github

Please Log in or Create an account to join the conversation.

More
17 Jul 2023 21:44 #275685 by gardenweazel
Replied by gardenweazel on topic Error loading QTVCP
Issue resolved by using the following command:

 sudo cp -r /usr/lib/python3/dist-packages/PyQt5/ /home/user/.local/lib/python3.11/site-packages/

Followed by a CHOWN of your user.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.133 seconds
Powered by Kunena Forum