This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how to load python module in linux

I need to load Python/2.7.9-2-anaconda in my linux. Python is located in /urs/bin. I want to know how to load this module into linux. I tried to type ''module load Python/2.7.9-2-anaconda" when I opened my terminal. However, it gave me an error 'ModuleCmd_Load.c(208):ERROR:105: Unable to locate a modulefile for 'Python/2.7.9-2-anaconda'

python linux

That must not be the right name of the module you are trying to load. If you do module avail you should be able to see all the modules available on your server. Choose the one from that list that you want to load with exact spelling of the name.

You should have a folder with all the modulefiles, each time you install a program as a module you need to create a modulefile.

Try to open the python modulefile to check if it exists (the file name is usually the version number, here "2.7.9-2-anaconda"). If you do not know where the folder is, you can try to locate it with this command *find / -name "2.7.9-2-anaconda"

0 answers

No answers yet.

Log in to answer this question.