On 3/28/13 8:37 AM, Joseph Eschweiler wrote: > Our group recently had our IT staff install the nightly build > IMP-SVN.v17084-el6x86_64.rpm on our linux system. The first line of our > python script is simply "import IMP" and it returns ImportError: No > module named IMP. The folder "IMP" is located in /usr/bin/share/IMP and > contains some of the modules like "atom" but nothing simply "IMP."
Python modules generally live under /usr/lib64/python*/site-packages/. That's where IMP puts them too.
> We've consulted with the IT staff who installed the program and he is > quite confused as to what the problem is, any help would be appreciated.
A minor packaging bug resulted in the Python modules being installed in the wrong place, so that Python can't find them. That was fixed in r17104. So the easiest option would be to have your IT guy update to the latest nightly build.
Ben