Updating Python in my folder on the cluster
1
0
Entering edit mode
9.3 years ago
stu111392 ▴ 30

Hey Again Folks,

I wanted to use pathoscope2 in our cluster environment but it requires at least python 2.7.3 or higher. Our cluster has python 2.6.6 installed so the program isn't running. And I think they have their reasons to use this version of python.

Is there a possibility that I can install a newer version just in my folder? Or is there another way?

With kind regards,

Julian

Python Cluster Update • 5.7k views
ADD COMMENT
1
Entering edit mode

Hi,

Usually, more than one version of Python is installed. Are you sure Python2.6 is the only one available on this cluster ?

ADD REPLY
0
Entering edit mode

It seems so. When I type in python and press the tab key for auto completion it is not showing a never version.

ADD REPLY
0
Entering edit mode

That might happen if quirky naming clashes exist. Try module avail python

ADD REPLY
1
Entering edit mode

You might see if they have different python versions available as modules. That's not uncommon on clusters. You can then just module load ... the appropriate version.

ADD REPLY
1
Entering edit mode

Extending Devon's answer, type module avail python and hit return. You should see a list of available versions.

ADD REPLY
0
Entering edit mode

Thanks a lot for the fast answers guys. The module avail python and module load ... saved my day.

Have a great day and best wishes from northern Germany :)

ADD REPLY
0
Entering edit mode

Glad it helped. Best wishes to you too!

ADD REPLY
1
Entering edit mode
9.3 years ago
Ram 43k

First, please check if 2.6 is the only version of python installed on the cluster (HIGHLY improbable). Extending Thibault's and Devon's answers, type module avail python and hit return. You should see a list of available versions. Then use module load python/2.9 (or an equivalent command) to load the version you need. I should have thought of this earlier.

Either use virtualenv (best option) or install to your home directory as shown here: http://scicomp.stackexchange.com/questions/2987/what-is-the-simplest-way-to-do-a-user-local-install-of-a-python-package

ADD COMMENT

Login before adding your answer.

Traffic: 1853 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6