There is always this trade off between (A) shipping PyMOL with its own
Python, to guarantee reliable installation, or (B) using a system PyMOL
install, for enabling integration and extensibility.  One of PyMOL's
advantages is that you aren't locked in to either approach, embedding or
extension -- the program supports both.
 
The challenge with (B) is that installed Python versions vary from
system to system, so recompilation of PyMOL is the only sure way to
guarantee binary compatibility between PyMOL's compiled code and the
system Python install.  

Setting PYTHONPATH (note no underscore) only works if the modules you
import are native Python (with no binary C-language dependencies).

Cheers,
Warren

--
Warren L. DeLano, Ph.D.                     
Principal Scientist

. DeLano Scientific LLC  
. 400 Oyster Point Blvd., Suite 213           
. South San Francisco, CA 94080 USA   
. Biz:(650)-872-0942  Tech:(650)-872-0834     
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:war...@delsci.com      
 

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of 
> Jules Jacobsen
> Sent: Friday, October 07, 2005 5:07 AM
> To: 'pymol'
> Subject: [PyMOL] Using a seperate python installation
> 
> Hello All,
> 
> Can someone tell me wether it is possible to use a 
> stand-alone python installation alongside the latest PyMol 
> releases? I have a few things set up in my main python 
> installation which an older (python free) version of Pymol 
> was happy to use, having installed the newer version it uses 
> it's own version of python. Is this possible to specify in 
> the .pymolrc? If so what do I write? I've tried the obvious 
> PYTHON_PATH = 'C:\\Python24\\'
> 
> Many thanks,
> 
> Jules
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, 
> discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 
> 
> 
> 

Reply via email to