There is a problem with python 3.8+ i guess:
$ lsb_release -d
Description: Ubuntu 20.04.3 LTS
$ python --version
Python 3.8.10
[PySolFC-3000]$ make
python setup.py install
Traceback (most recent call last):
File "setup.py", line 27, in <module>
for s in file('MANIFEST.in'):
NameError: name 'file' is not defined
make: *** [Makefile:13: install] Error 1
[PySolFC-3000]$ python pysol.py
Traceback (most recent call last):
File "pysol.py", line 26, in <module>
init()
File "/mnt/py/pysolfc-code/PySolFC/PySolFC-3000/pysollib/init.py", line 84, in init
import tkinter
ModuleNotFoundError: No module named 'tkinter'
[trunk]$ python pysol.py
Traceback (most recent call last):
File "pysol.py", line 25, in <module>
from pysollib.init import init
File "/mnt/py/pysolfc-code/PySolFC/trunk/pysollib/init.py", line 98
print 'PySol debugging: set CHECK_GAMES to True'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('PySol debugging: set CHECK_GAMES to True')?
Looking at this error, it looks like you're trying to run from the code in SourceForge, correct?
If so, the SourceForge code is a bit out of date, and from before when Python 3 support was added. Since then, the latest code has been moved to GitHub and can be found at https://github.com/shlomif/PySolFC.
Thanks, the git one works ;-)