I am working on HPC server where already different version of python installed.
I need to use pip to install some bioinformatics software.
But When I am trying to load latest version of python and after that when type python version it always showing old python version so please suggest How I can install pip first and after that how should I use it to install other software:
[3052751@login1(alces) ~]$ python --version
Python 2.6.6
[3052751@login1(alces) ~]$ module load apps/python3
Unable to load apps/python3/3.4.3/gcc-4.4.7 -- alternative module (apps/python3/3.6.4/gcc-4.4.7) already loaded.
[3052771@login1(alces) ~]$ python --version
Python 2.6.6
[3052751@login1(alces) ~]$ pip --version
-bash: pip: command not found
Your
module load
command had issues and anyway you should trypip3
.What do you get with
module avail python
? This command should list all python modules available on your cluster.What do you get if you do following by running in your
$HOME
.Hi genomax:
Well the programs you are looking for are right there. In two places.
and
If your
$HOME
is not available on all cluster nodes then you should use./gridware/share/python/3.4.3/bin/htseq-count
.To remove the old module you have already loaded.
Then run (from the directory where you ran the
find
command)or
You should not need to add
python3
at beginning.I run find commad from the same location:
[3052751@login2(alces) ~]$ /gridware/share/python/3.4.3/bin/htseq-count -h
What modules are currently loaded?
[
Do I need to load python3?
Yes you should try that.
Something is set up strangely on your cluster. At this point you are going to need some local help to figure out what is going on.
I have run out of things to try :-(
Hi genomax,
thanks for your time and so much effort, surely I am going ask to admin here and let you know if something comes out.