> which I already have anyway, and I want to have pymol for multiple
> flavours
> of UNIX in the same directory on a shared network file system if possible.
> Now I'm hitting that famous bit:
> $ ./pymol
> Traceback (most recent call last):
>   File "/{my PYMOL_PATH}/modules/pymol/__init__.py", line 109, in ?
>     import pymol
>   File "/{my PYMOL_PATH}/modules/pymol/__init__.py", line 353, in ?
>     import _cmd
> ImportError: No module named _cmd
>
> Am I trying something that can't be accomplished?

Interesting idea...I don't see any reason it couldn't be done.

You'll probably have to build the c pymol modules seperately for each
system, and add a switch based on OS in the pymol launch script so that
PYMOL_PATH points to the correct directories for each unix version (as
well as the correct path to python, if that varies between your unix
flavors).  It might also be necessary to check that PYMOL_PATH is getting
into sys.path correctly in __init__.py.

Hope this helps,

Pete


Pete Meyer
Fu Lab
BMCB grad student
Cornell University


Reply via email to