[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [modeller_usage] Modeller 8v1 on x86_64



Jarrod Smith wrote:
With the generic UNIX install of Modeller 8v1 on x86_64 RHEL 3, the
site packages cannot be found:

57 scylla:/sb/apps/modeller8v1/examples/all-steps% mod8v1 search.py
'import site' failed; use -v for traceback
Yes - this is because Modeller contains Python 2.3, while RHEL 3 still 
has Python 2.2.
To work around this, I've added the following line to our mod8v1:

if test "$ARCH" = "x86_64"; then export PYTHONPATH=/usr/lib64/python2.2; fi

There may be other ways to fix it, but this worked for me.
Well, that will probably work, but you're mixing Python modules between 
versions 2.2 and 2.3. Binary (.so) modules will almost certainly not 
work, and even pure Python modules might act strangely. So I wouldn't 
recommend that.
Other solutions are to upgrade to RHEL 4 (which ships with Python 2.3) 
or to install Python 2.3 from python.org.
	Ben Webb, Modeller Caretaker
--
modeller-care@salilab.org             http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage