After my last computer dies on me, and having got a newer computer (a Packard Bell(end)). I have had to re-install Artix on the newer computer using the latest iso.
One app I installed as a game called Pysol, however when trying to run this app I get the following message.
Traceback (most recent call last):
File "/usr/bin/pysol", line 28, in <module>
init()
File "/usr/lib/python3.7/site-packages/pysollib/init.py", line 92, in init
from six.moves import tkinter
ModuleNotFoundError: No module named 'six'
Any help would be appreciated.
Thank you.
Install python-six or python2-six.
Thanks for the suggestion but still won't run.
Traceback (most recent call last):
File "/usr/bin/pysol", line 28, in <module>
init()
File "/usr/lib/python3.7/site-packages/pysollib/init.py", line 93, in init
root = tkinter.Tk(className=pysollib.settings.TITLE)
File "/usr/lib/python3.7/tkinter/__init__.py", line 2023, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: unknown color name "BACKGROUND"
Read the error messages. They are helpful. The relevant line in your case is:
_tkinter.TclError: unknown color name "BACKGROUND"
This could be a wide variety of things. Make sure that you have all the dependencies required for Pysol installed and that you are using the correct python version (i.e. 2 or 3). If all that is good, and you are still getting that message, then it's probably something upstream and you should send them a bug report.
This is a TCL/Tk error; the background color is expected to be read from some environment variable or config file (useful for working right in both light and dark themes), which fails.
See this (http://www.pclinuxos.com/forum/index.php/topic,135335.msg1152306.html#msg1152306) and this (https://forum.manjaro.org/t/pysol-wont-run-on-mate/57228/9) for a possible solution.
Pysolfc has now been updated and works. Thank you Arch