[Chimera-users] chimera: gnuplot.py
John Robinson
johnmrobinson at mac.com
Thu Feb 9 11:19:54 PST 2006
Thanks Eric,
It was the path. IDLE's default dir is '/'.
Issuing the following made things work.
Gnuplot.GnuplotOpts.gnuplot_command = '/usr/local/bin/gnuplot'
Thanks again.
On Feb 9, 2006, at 12:19 PM, Eric Pettersen wrote:
> 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
>
--------------------------------------------
John M. Robinson, M.D., Ph.D.
mailto:johnmrobinson at mac.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20060209/09bb5e84/attachment.html>
More information about the Chimera-users
mailing list