I want to execute my python code on LSF, and problem is that the return of
import sys
print (sys.version)
in lsf is
2.6.6 (r266:84292, Jul 22 2015, 16:47:47) [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)]
But my code has been written for python2.7. How can I change or assign the correct version of python to LSF job script.
I found the answer to change the current version of python. with the following steps:
$ module avail
$ module unload python/2.6.6
$ module load python/2.7.9
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.