Downloaded and installed bCNC thanks, seems quite a gutzy package.
Running Python 3.12.2 in conda env.
Opted after openning to search for updates (yes, should have been nugatory on first install).
Some error was reported in the console (see traceback):
(base) asterion@MonstaPC:~$ sudo pip install --upgrade bCNC
[sudo] password for asterion:
Collecting bCNC
Downloading bcnc-0.9.16.tar.gz (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 2.8 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.12 in /usr/lib/python3/dist-packages (from bCNC) (1.21.5)
Collecting svgelements<2,>=1
Downloading svgelements-1.9.6-py2.py3-none-any.whl (137 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.9/137.9 KB 420.8 kB/s eta 0:00:00
Collecting shxparser>=0.0.2
Downloading shxparser-0.0.2-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: Pillow>=4.0 in /usr/lib/python3/dist-packages (from bCNC) (9.0.1)
Collecting tkinter-gl>=1.0
Downloading tkinter_gl-1.0-py3-none-any.whl (130 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.2/130.2 KB 2.1 MB/s eta 0:00:00
Collecting opencv-python==4.5.5.64
Downloading opencv_python-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.5/60.5 MB 2.2 MB/s eta 0:00:00
Collecting pyserial
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 KB 2.5 MB/s eta 0:00:00
Building wheels for collected packages: bCNC
Building wheel for bCNC (setup.py) ... done
Created wheel for bCNC: filename=bCNC-0.9.16-py3-none-any.whl size=1428306 sha256=0fbe8f70a4f22e1c33dc20fbaa09d0af06f55ef7d8484cbaf9f5f994db8f5497
Stored in directory: /root/.cache/pip/wheels/28/19/55/390eff5b0381830bae3d1221f92e700ca42167c91763f2a9cb
Successfully built bCNC
Installing collected packages: svgelements, shxparser, pyserial, tkinter-gl, opencv-python, bCNC
Successfully installed bCNC-0.9.16 opencv-python-4.5.5.64 pyserial-3.5 shxparser-0.0.2 svgelements-1.9.6 tkinter-gl-1.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
(base) asterion@MonstaPC:~$ python -m bCNC
/home/asterion/miniconda3/bin/python: No module named bCNC
(base) asterion@MonstaPC:~$ sudo python -m bCNC
================================================================================
WARNING: bCNC was recently ported to only support
python3.8 and newer.
Most things seem to work reasonably well.
Please report any issues to: https://github.com/vlachoudis/bCNC/issues
================================================================================
new-config bCNC <configparser.ConfigParser object at 0x73de6236ead0>
G2Core loaded
self.canvas.winfo_id(): 144703576
Not Loading 6 axis displays
Not Loading 6 axis displays
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/bCNC/Utils.py", line 533, in __call__
return self.func(*args)
File "/usr/local/lib/python3.10/dist-packages/bCNC/Updates.py", line 174, in check
if self.isNewer(latest_version):
File "/usr/local/lib/python3.10/dist-packages/bCNC/Updates.py", line 152, in isNewer
for a, b in zip(av, bv):
ValueError: invalid literal for int() with base 10: 'pypi'
bgerror failed to handle background error.
Original error: invalid command name "127397403652928monitorSerial"
Error in bgerror: can't invoke "tk" command: application has been destroyed
Downloaded and installed bCNC thanks, seems quite a gutzy package.
Running Python 3.12.2 in conda env.
Opted after openning to search for updates (yes, should have been nugatory on first install).
Some error was reported in the console (see traceback):