From: Thomas H. <sp...@us...> - 2012-03-02 12:08:08
|
On 03/02/2012 11:49 AM, Troels Emtekær Linnet wrote: > How does your execution file look like? > You point to another python to execute the __init__.py file. > > You can also define PYTHONPATH or set the PYMOL_PATH > if necessary. It's MacPyMOL, so this will not work. The _cmd module is compiled into the MacPyMOL executable and cannot be imported from another python interpreter. I guess the only solution is to build open-source PyMOL with the python executable from the cctbx bundle. Working on my linux box: PyMOL build from source, cctbx build from source (both with the same python), and launch PyMOL with: cctbx.python /opt/pymol-svn/modules/pymol/__init__.py Cheers, Thomas > 2012/3/1 Francis E Reyes <Fra...@co... > <mailto:Fra...@co...>> > > Hi all > > I require cctbx with MacPyMOL Executive Build 1.4. > > Can someone advise on how to override which python is used? > > Thanks! > > F > > --------------------------------------------- > Francis E. Reyes M.Sc. > 215 UCB > University of Colorado at Boulder -- Thomas Holder MPI for Developmental Biology Spemannstr. 35 D-72076 Tübingen |