python2.7, thg 5.0.2, build from source, 'module' object has no attribute 'IGNORES'
Created originally on Bitbucket by Anonymous
OS: Fedora 25
I have both python 2.7 and python 3.5.4. /usr/bin/python is a symlink to python 3.5.4, which is my default python interpreter.
I have installed thg with the following commands: python2 ./setup.py build sudo python2 ./setup.py install
python2 is a symlink to python2.7 and the file /usr/bin/thg has a shebang /usr/bin/python2
The error:
[akamyshev@localhost tortoisehg-5.0.2]$ which thg /usr/bin/thg [akamyshev@localhost tortoisehg-5.0.2]$ thg Traceback (most recent call last): File "/usr/bin/thg", line 64, in demandimport.IGNORES.update([ AttributeError: 'module' object has no attribute 'IGNORES'
I get the same error if I tell it directly which python to use:
[akamyshev@localhost tortoisehg-5.0.2]$ python2.7 /usr/bin/thg Traceback (most recent call last): File "/usr/bin/thg", line 64, in demandimport.IGNORES.update([ AttributeError: 'module' object has no attribute 'IGNORES'