I am trying to use a python script that imports a script that imports another script. However, it changes versions of python when doing so, making the syntax invalid. Is there a way to make python use a specific version?
NOTE: I do not have su privileges
Edit 1:
2.7.9 (default, May 2 2016, 17:03:26)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)]
2.6.6 (r266:84292, Jul 23 2015, 15:22:56)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]
Traceback (most recent call last):
File "script.py", line 29, in <module>
from folder1 import script1
File "folder/script1.py", line 6, in <module>
from folder2 import script2
File "folder2/script2.py", line 234
covered_isoform_fraction_max = {id_isoform: isoforms_covered_fraction[id_isoform] for id_isoform in ids_isoforms_max}
^
SyntaxError: invalid syntax