No module named qtvcp

More
6 years 6 months ago #165818 by prochj51
Hi,

I added link to qtvcp_plugin.py,
but when I run designer a get this
Code:
prochj51@prochj51linuxCNC:~$ designer -qt=5 Traceback (most recent call last): File "/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py", line 22, in <module> from qtvcp.plugins.simplewidgets_plugin import * ImportError: No module named 'qtvcp' Traceback (most recent call last): File "/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py", line 22, in <module> from qtvcp.plugins.simplewidgets_plugin import * ImportError: No module named 'qtvcp' Segmentation fault

the link should be fine
Code:
prochj51@prochj51linuxCNC:/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python$ ls -l qtvcp_plugin.py lrwxrwxrwx 1 root root 62 Apr 27 14:16 qtvcp_plugin.py -> /usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py

so the plugin folder
Code:
prochj51@prochj51linuxCNC:/usr/lib/python2.7/dist-packages/qtvcp/plugins$ ls actionbutton_plugin.py jogincrements_plugin.pyc status_adjustment_bar_plugin.py actionbutton_plugin.pyc led_plugin.py status_adjustment_bar_plugin.pyc basic_probe_plugin.py led_plugin.pyc status_label_plugin.py basic_probe_plugin.pyc overlay_plugin.py status_label_plugin.pyc camview_plugin.py overlay_plugin.pyc status_slider_plugin.py camview_plugin.pyc qtvcp_plugin.py status_slider_plugin.pyc container_plugin.py qtvcp_plugin.pyc tab_widget_plugin.py container_plugin.pyc screenoptions_plugin.py tab_widget_plugin.pyc dialog_plugin.py screenoptions_plugin.pyc toolbutton_plugin.py dialog_plugin.pyc simplewidgets_plugin.py toolbutton_plugin.pyc graphics_plugin.py simplewidgets_plugin.pyc versa_probe_plugin.py graphics_plugin.pyc state_label_plugin.py versa_probe_plugin.pyc __init__.py state_label_plugin.pyc widgets_plugin.py __init__.pyc state_led_plugin.py widgets_plugin.pyc jogincrements_plugin.py state_led_plugin.pyc

Thanks for ideas

Jiri

Please Log in to join the conversation.

More
6 years 6 months ago #165885 by cmorley
Replied by cmorley on topic No module named qtvcp
open up designer
click on help
then plugins
see if there is something like libpyqt5.so or libpyqt5_py2.so present or both

Please Log in to join the conversation.

More
6 years 6 months ago #165901 by prochj51
Replied by prochj51 on topic No module named qtvcp
They are both present

Please Log in to join the conversation.

More
6 years 6 months ago #165904 by cmorley
Replied by cmorley on topic No module named qtvcp
Can you either rename libpyqt5.so to libpyqt5_py3.so or remove it.
I think that might be a problem.
You need to be sudo to do that.

Please Log in to join the conversation.

More
6 years 6 months ago #165906 by prochj51
Replied by prochj51 on topic No module named qtvcp
Perfect, it works.
Thanks a lot

Jiri

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum