vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.54k stars 528 forks source link

Issue due to"sudo python3 -m bCNC" #1875

Open riddepk opened 5 months ago

riddepk commented 5 months ago

I try to install bCNC on my Raspberry Pi2 on Raspbian with Pythn3.8 and each time i try this commande i've the following error :'-(

toto@BCNC:/usr/local/lib/python3.8 $ sudo python3 -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 0x7f8ea8c160> MoTTY X11 proxy: No authorisation provided

MoTTY X11 proxy: No authorisation provided

Traceback (most recent call last): File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/site-packages/bCNC/main.py", line 226, in main() File "/usr/local/lib/python3.8/site-packages/bCNC/main.py", line 153, in main application = bmain.Application(className=f" {Utils.prg} ") File "/usr/local/lib/python3.8/site-packages/bCNC/bmain.py", line 146, in init Tk.init(self, **kw) File "/usr/local/lib/python3.8/tkinter/init.py", line 2270, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: couldn't connect to display "localhost:10.0"