Hi i'm trying to get the generic unix build of modeller to run on a
amd64 bix running fedora core 3. I've had a look at the python paths,
and played with a few variables. It would seem the python interpreter
cannot find the site packages, but imports the modeller addons fine.
Does anyone have a tip on how to get the embedded python to find the
site packages?
You should debug problems like this by doing
import sys
print sys.path
to see where Python is looking for its modules. Generally, setting
PYTHONHOME should put it on the right track.
The Modeller addons work because they are linked into the Modeller
32-bit executable along with the 32-bit Python interpreter. However,
while this 32-bit build will work on an AMD64 box, I'm not sure whether
you'll be able to load 'standard' Python modules, as they are (I
believe) compiled for 64-bit (at least, those which have some non-Python
code incorporated in .so files are).
But some good news: we have x86_64 builds of Modeller in house. Not only
will they load the 'proper' 64-bit Python (at least, they do under RH
Enterprise 4, which I think is pretty similar to FC3) but they run
faster than the 32-bit binaries (significantly faster for some parts of
the code, such as profile building). I'll test them with the 8v0
codebase and get an RPM out, probably within a week or so.