kcjengr / qtpyvcp

QtPyVCP - Qt and Python based Virtual Control Panel framework for LinuxCNC.
https://www.qtpyvcp.com
Other
88 stars 48 forks source link

AttributeError: module 'monokrom' has no attribute 'VCP_CONFIG_FILE' #130

Closed kang2k10 closed 8 months ago

kang2k10 commented 8 months ago

Linuxcnc 2.9 from official iso install qtpyvcp from script "/usr/lib/python3/dist-packages/qtvcp/designer/install_script" from this repo, clone example. after run sim.qtpyvcp/xyz.ini this error: File "/usr/lib/python3/dist-packages/qtpyvcp/vcp_chooser/vcp_chooser.py", line 79, in get_vcp_data vcp_config_file = vcp.VCP_CONFIG_FILE ^^^^^^^^^^^^^^^^^^^ AttributeError: module 'monokrom' has no attribute 'VCP_CONFIG_FILE'

KurtJacobson commented 8 months ago

I have this same issue on a fresh install of Monokrom from a deb package.

TurBoss commented 8 months ago

same issue here looks it has to be with vcpchooser

kang2k10 commented 8 months ago

Sorry, i'm mixed QtVcp & QtPyVcp

antarcticstar1 commented 7 months ago

How to solve this problem?

joco-nz commented 7 months ago

Due to the changes in how Debian 12 and other recent distros treat non Debian packaged python use:

https://www.qtpyvcp.com/install/apt_install.html

Unless you are trying to do a developer install. In which case look at the relevant pages on the same site.