2

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.

1 Answer 1

1

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
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.