On Tue, Jul 22, 2008 at 03:38:53PM +0100, Daniel Rigden wrote:
> First let me confess that my problem does not just involved pymol.
> However, it is hampering my use of pymol amongst other things and there
> must be many python experts who read this list.
>
> My problem, on a completely fresh Ubuntu 8.04 install, is that python
> can find modules when asked to import them. So
Are you saying python cannot find any modules? In that case, the
problem does not sound pymol specific at all.
> export PYMOL_PATH=/var/lib/python-support/python2.5/pymol/
> export PYTHONHOME=/usr/lib/python2.5
> python2.5 ${PYMOL_PATH}/__init__.py
>
> gives me
>
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
> File "/var/lib/python-support/python2.5/pymol//__init__.py", line 109,
> in <module>
> import threading
> ImportError: No module named threading
Are you running the Ubuntu pymol package, or a self-compiled one? If
the former, does simply running "pymol" work or not?
Michael