Hello everyone,
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
Has anyone faced this error before. Please help!
---------------------------------------- Warm Regards, Badri Adhikari CS Graduate Student, University of Missouri-Columbia, Columbia, Missouri BAP54@mail.missouri.edumailto:BAP54@mail.missouri.edu
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
participants (2)
-
Adhikari, Badri (MU-Student)
-
Ben Webb