I’m struggling to install LT on centos-6.
Of course, my Python version is out of date. So I used pyenv to install a version 3 of Python:
itcrowd@machine:~# pyenv global 3.7.4 itcrowd@machine:~# python --version Python 3.7.4
So that’s fixed.
But when I try to install LT, the installer throws out a bunch of messages as follows:
SyntaxError: Missing parentheses in call to 'print'.
So, I dutifully change all the instances of
print whatever to
print(whatever) in all of the setup.py files that I can find.
However, I am stuck with one last one as follows:
File "/tmp/easy_install-gecdxuoa/wsgiref-0.1.2/ez_setup/__init__.py", line 170 print "Setuptools version",version,"or greater has been installed." ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Setuptools version",version,"or greater has been installed.")?
Of course, I have searched for the relevant file(s) to change this by hand but is it really necessary for me to update all of the instalation files manually to be coimpatible with the Python3 print command?