[Eric] Matplotlib.pyplot import errors in the eric4 shell

Detlev Offenbach detlev at die-offenbachs.de
Fri Sep 26 18:01:08 BST 2014


Hi,

I just tested the import on my Linux system and it worked without an issue (and without a special 
configuration). Just note, that I have the matplotlib Qt backend installed. Maybe that makes the 
difference.

Detlev

On Wednesday 24 September 2014, 09:07:06 Matthew D Antalek wrote:
> Hi All,
> 
>   I recently installed eric4 on my machine (Mid '09 MacBook Pro with OSX
> 10.8.5) but I cannot import pyplot within the eric4 shell. I can import it
> from a terminal instance of python. Python and matplotlib were installed
> using homebrew. Here's the error:
> 
> from matplotlib import pyplot as plt
> 
> Error:
> 
> import matplotlib._png as _png
> 
> Reason: image not found
> 
> With some other info about what file the error was coming from. Is there
> some other variable that I need to set so eric can use the pyplot package?
> It seems that both my terminal and eric are using the same installation of
> python.
> 
> Thanks,
> Matt-- 
*Detlev Offenbach*
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20140926/f65fcf03/attachment.html>


More information about the Eric mailing list