Hello sorry for the late reply, My linux system details are,
Debian 10
Kernel : Linux cnc-plasma 5.10.0-0.deb10.17-rt-amd64
Linuxcnc Version : 2.9.0-pre0-7939-g600ba1a08
Python 2 : Python 2.7.16 (default, Oct 10 2019, 22:02:15)
Python 3 : Python 3.7.3 (default, Jan 22 2021, 20:04:44)
python3-distutils version (3.7.3-1)
I missed out a part of the error message on my first post,
I don't understand why it asks me to install python3-distutils even though it is installed, is it a missing dependency?
Traceback (most recent call last):
File "/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 19, in <module>
from math import dist, ceil
ImportError: cannot import name 'dist' from 'math' (unknown location)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/qtvcp", line 511, in <module>
APP = QTVCP()
File "/usr/bin/qtvcp", line 277, in __init__
window.load_extension(opts.usermod)
File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 265, in load_extension
methods, self[obj].handler_module, self[obj].handler_instance = self._load_handlers([handlerpath], self.halcomp, self[obj])
File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 293, in _load_handlers
mod = __import__(basename)
File "/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 21, in <module>
LOG.error('Is python distutils installed? (sudo apt install python3-distutils')
NameError: name 'LOG' is not defined