No module named qtvcp

More
27 Apr 2020 13:04 #165818 by prochj51
Hi,

I added link to qtvcp_plugin.py,
but when I run designer a get this
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
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
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 or Create an account to join the conversation.

More
28 Apr 2020 01:20 #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 or Create an account to join the conversation.

More
28 Apr 2020 05:26 #165901 by prochj51
Replied by prochj51 on topic No module named qtvcp
They are both present

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

More
28 Apr 2020 05:34 #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 or Create an account to join the conversation.

More
28 Apr 2020 05:43 #165906 by prochj51
Replied by prochj51 on topic No module named qtvcp
Perfect, it works.
Thanks a lot

Jiri
The following user(s) said Thank You: cmorley

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

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