-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I have tried to install the package using conda and source code but during the installation, I'm getting the syntax error.
"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("#####################################################################")?
File "/usr/local/lib/python3.8/dist-packages/lintools-6.2018-py3.8.egg/lintools/data.py", line 37
print "Check your topology file - it is either missing or misspelled."
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Check your topology file - it is either missing or misspelled.")?
File "/usr/local/lib/python3.8/dist-packages/lintools-6.2018-py3.8.egg/lintools/lintools.py", line 201
print "#####################################################################"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("#####################################################################")?
File "/usr/local/lib/python3.8/dist-packages/lintools-6.2018-py3.8.egg/lintools/molecule.py", line 277
print "Drawing molecule:"+str(end-start)
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.8/dist-packages/lintools-6.2018-py3.8.egg/lintools/analysis/pistacking.py", line 184
print "Pi-Stacking:"+str(end-start)
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.8/dist-packages/lintools-6.2018-py3.8.egg/lintools/analysis/residence_time.py", line 144
print "Nothing to draw for this ligand:(residue number: " +
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.8/dist-packages/lintools-6.2018-py3.8.egg/lintools/analysis/rmsf.py", line 44
print "RMSF: "+str(timer()-start)
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.8/dist-packages/lintools-6.2018-py3.8.egg/lintools/analysis/salt_bridges.py", line 127
print "Salt Bridges:"+str(end-start)
^
SyntaxError: invalid syntax
File "/usr/local/lib/python3.8/dist-packages/lintools-6.2018-py3.8.egg/lintools/analysis/sasa.py", line 40
print "WARNING: SASA analysis cannot be performed due to incorrect atom names in"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("WARNING: SASA analysis cannot be performed due to incorrect atom names in")?
lintools 6.2018 is already the active version in easy-install.pth
Installing lintools script to /usr/local/bin
Even after this showing it's installed
I tried with the test data
lintools -f 900.pdb -o new
Traceback (most recent call last):
File "/usr/local/bin/lintools", line 11, in
load_entry_point('lintools==6.2018', 'console_scripts', 'lintools')()
File "/home/srinivasan/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 479, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/srinivasan/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 2861, in load_entry_point
return ep.load()
File "/home/srinivasan/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 2465, in load
return self.resolve()
File "/home/srinivasan/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 2471, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.8/dist-packages/lintools-6.2018-py3.8.egg/lintools/main.py", line 34
print "#####################################################################"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("#####################################################################")?
Could you help me with this issue?
Thank you