On Fri, 09 Jul 2010 16:11:47 -0400 Vivek Ranjan <vran...@gmail.com> wrote:
> Hello, > > I downloaded a pymol script from > http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/ called > draw_cell.py. I have "Python 2.6.5", numpy version: 1.3.0, I > downloaded cctbx for unix (self extracting files) and installed cctbx > in my $HOME/bin/. I have also included the line (. > "/home/vranjan/bin/cctbx_build/setpaths.sh") in my .bashrc then ran > the command from another window cctbx.version and found cctbx version > to be 2010_03_29_2334 > > When I type "run draw_celll.py" in pymol window I get the following error: > *************************************************************************************** > PyMOL>ls draw_cell.py > draw_cell.py > PyMOL>run draw_cell.py > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/pymol/parser.py", line > 334, in parse > parsing.run_file(path,self.pymol_names,self.pymol_names) > File "/usr/local/lib/python2.6/dist-packages/pymol/parsing.py", line > 455, in run_file > execfile(file,global_ns,local_ns) > File "draw_cell.py", line 3, in <module> > from cctbx import uctbx, sgtbx > ImportError: No module named cctbx > PyMOL: normal program termination. > ****************************************************************************************** You have to make sure that pymol is using the same python as cctbx. I have instructions on my website: http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/cctbx If you need more help than that, let me know. Cheers, Rob -- Robert L. Campbell, Ph.D. Senior Research Associate/Adjunct Assistant Professor Botterell Hall Rm 644 Department of Biochemistry, Queen's University, Kingston, ON K7L 3N6 Canada Tel: 613-533-6821 Fax: 613-533-2497 <robert.campb...@queensu.ca> http://pldserver1.biochem.queensu.ca/~rlc ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net