Hi Simon,

Before I start I have to say that I never ever used neither cctbx nor
draw_cell.py.

I installed Python 2.4.1 and cctbx 2005_08_18_0201 on my WinXP machine. I
then had a look to the Roger Dodd's Solution and found out that I cannot
work properly since the file c:\cctbx_source\libtbx\libtbx\assoc_ftype.py
does NOT exist. 
So what I did is to go in the command line ("cmd") and run the
C:\cctbx_sources\libtbx\stdlib.py file, as well as the
C:\cctbx_sources\libtbx\stdlib.pyc file. Do not ask me what it does and what
those files are! I have no clue...
Then I went to PyMol, ran the draw_cell.py file, opened a pdb file, and
typed the command draw_cell("My_object", 0.2).

I got another error message at line 35 of the script, but at least the
environment cctbx seems to be loaded...

Good luck with this and don't hesitate to post something if you went
further!

Best regards,

Greg



-----Original Message-----
From: pymol-users-ad...@lists.sourceforge.net
[mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of Simon Kolstoe
Sent: lundi, 19. septembre 2005 18:22
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] Macros...

 Hi everyone, sorry for perhaps an obvious question, however the pymol 
wiki doesn't seem to be helping me:

 I am trying to run the script draw_cell.py which requires cctbx. I 
followed the instructions on

 http://www.pymolwiki.org/index.php/CCTBX
 
entitled "Roger Dodd's Solution", installing everything as he says. 
Problem is everytime I run pymol (under windows XP) I get the following 
error:

File "C:\Program Files\DeLano 
Scientific\PyMOL/modules\pmg_tk\startup\draw_cell.py", line 3, in ?
    from cctbx import uctbx, sgtbx
ImportError: No module named cctbx
Error: unable to initialize plugin 'draw_cell'.

 Googling doesn't seem to find an understandable answer except for a 
similar question posted on this bulletin board in 2003 which went 
unanswered!

 Thanks for any help,

Simon



Reply via email to