[Chimera-users] chimera: gnuplot.py

Eric Pettersen pett at cgl.ucsf.edu
Thu Feb 9 10:19:16 PST 2006


Hi John,
	Where did you install gnuplot (the program, not the module)?  The  
execution path (os.environ['PATH']) is considerably different in  
standalone Python than in Chimera's IDLE shell.  I suspect that the  
gnuplot executable is not on IDLE's PATH (the Gnuplot module by  
default tries to run gnuplot simply as 'gnuplot').  If the problem is  
with PATH, your options include modifying os.environ['PATH'] before  
importing Gnuplot, or changing the Gnuplot module's options like so:

         import Gnuplot
         Gnuplot.GnuplotOpts.gnuplot_command = '/bin/mygnuplot'

--Eric

                         Eric Pettersen
                         UCSF Computer Graphics Lab
                         pett at cgl.ucsf.edu
                         http://www.cgl.ucsf.edu


On Feb 8, 2006, at 6:01 PM, John Robinson wrote:

> Dear chimera power-users:
>
> I can use the gnuplot.py library from the python command line without
> issue.  However, when I try to do the same in IDLE under chimera, I
> get a broken pipe error.
>
>   Any suggestions?
>
> --John
>
> --------------------------------------------
> John M. Robinson, M.D., Ph.D.
> mailto:johnmrobinson at mac.com
>
>
>
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20060209/c9687a06/attachment.html>


More information about the Chimera-users mailing list