Dear Simon and other pymolers,

I have realised that the solution to getting cctbx working with pymol on
windows I posted no longer works with recent builds of cctbx. I have
found that the following solution works:

1. Download and install python (to the default location - C:\Python24)

--> http://www.python.org/ftp/python/2.4.1/python-2.4.1.msi

(1a. If you want to use the draw_symops.py or draw_symops_cctbx.py
scripts you also need to install numarray after installing python

-->
http://prdownloads.sourceforge.net/numpy/numarray-1.3.3.win32-py2.4.exe?download)

2. Download cctbx *without* python included and unpack into
C:\cctbx_build and C:\cctbx_sources

-->
http://cci.lbl.gov/cctbx_build/results/2005_08_18_0201/cctbx_win_xp_py24_pre.exe

3. Download pymol built against python 2.4 (but not including its own
python) and install in the default location

--> http://delsci.com/rel/0_98/pymol-0_98rc5-bin-win32-py24.zip

(You cannot use the latest beta versions which include their own version
of python to the best of my knowledge)

4. Create 2 files (use notepad or wordpad or any other text editor) and
save in the C:\Program Files\Delano Scientific\PyMOL directory:

    a) pymol.cmd

       @python -x "%~f0" %* & exit /b
        import cctbx
        import pymol

    b) run.cmd

        CALL C:\cctbx_build\setpaths_all.bat
        CALL "C:\Program Files\Delano Scientific\PyMOL\pymol.cmd"

5. One other thing, it's important to have python in your path variable
(which you can access by going to control
panel|system|advanced|environment variables), just add C:\python24 to
the end of the path variable, separated by a semi-colon.

Hopefully this should work OK... I know it is working on at least one
other system than my own. Let me know if it works for you. I'll post
this up on the wiki ASAP.

Cheers

Roger
begin:vcard
fn:Roger Dodd
n:Dodd;Roger
org:University of Cambridge;Department of Medicine
adr:Addenbrooke's Hospital, Hills Road;;CIMR, Wellcome Trust/MRC Building;Cambridge;Cambridgeshire;CB2 2XY;UK
email;internet:rb...@cam.ac.uk
title:Post-Doctoral Research Associate
tel;work:+44-1223-762629
note;quoted-printable:MSN - rogerd...@hotmail.com=0d=0a=
	ICQ - 100657240=0D=0A=
	Skype - rogerdodd=0D=0A=
	Gizmo - rogerdodd=0D=0A=
	SIP (VoIP) -  17476057995
x-mozilla-html:TRUE
url:http://www.cus.cam.ac.uk/~rbd22/
version:2.1
end:vcard

Reply via email to