Dec-29-2020, 05:03 PM
(This post was last modified: Dec-29-2020, 05:04 PM by Gribouillis.)
The strange thing in your error message is this
I suggest that at the very top of
Error:File "/usr/lib/python3.8/collections/init.py", line 27, in
from reprlib import recursive_repr as _recursive_repr
File "/home/harold/.local/lib/python2.7/site-packages/reprlib/init.py", line 7, in
When the standard module 'collections' from python 3.8 library tries to import the stardard module 'reprlib', it imports it from /home/harold/.local/lib/python2.7/site-packages, that is to say from the python 2.7 library insteado of importing it from python 3.8's library. For me it means that at this moment, the directory /home/harold/.local/lib/python2.7/site-packages is mistakenly in the sys.path
list.I suggest that at the very top of
genVersion.py
, you add temporarily this line to see what sys.path contains when this line is executed. Then see if it contains a python 2.7 directoryimport sys raise RuntimeError(sys.path)