Subject: Re: [IMP-users] ImportError: No module named IMP
From: Ben Webb <>
Date: Wed, 28 Mar 2012 18:46:40 -0700
Reply-to: Help and discussion for users of IMP <>
On 3/28/12 6:07 PM, Adhikari, Badri (MU-Student) wrote:
I installed IMP and tried to execute a sample python script sample.py
using the command:
python sample.py
I keep getting ImportError that looks like in the image below.
Description: cid:image001.png@01CD0D1B.B639C5D0
I do not have root access in the server and I have installed all other
prerequisites (swig, boost and scons). I downloaded IMP at
http://salilab.org/imp/get.php?pkg=1.0/download/imp-1.0.tar.gz
If you didn't use one of the binary installers (which require root
access) then you need to add the directories containing IMP Python
modules to the Python path, by setting the PYTHONPATH environment
variable. You'll probably have to do the same thing for the dynamic
libraries (.so files) by setting LD_LIBRARY_PATH.
Ben
--
http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle