xrt
xrt copied to clipboard
pythonplatform.linux_distribution() and Python 3.8
Trying to start xrtQook on a Linux Mint 20 machine I got the following error:
(base) weltere@edmund-laptop:~/Programme/xrt-1.3.4/xrt/gui$ python3 xrtQookStart.pyw
qt5ct: using qt5ct plugin
qt5ct: D-Bus system tray: no
Traceback (most recent call last):
File "xrtQookStart.pyw", line 28, in
For the time being I commented the two lines (1072 and 1073). #if 'Linux' in locos: # locos = " ".join(pythonplatform.linux_distribution())
After this xrtQook starts without issues. It seems the problem is caused by the used Python version (Python 3.8.5).
Cheers, Edmund
Hi Edmund, Indeed, they suddenly removed platform.linux_distribution() in Python 3.8. The GH version has a fix, probably we should issue a new release.