Skip to content

why matplotlib is not operating?

I want to use matplotlib. I have installed it as:

sudo apt-get install python-matplotlib

and in terminal I have:

$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
>>> matplotlib.__version__
>>> matplotlib.__file__
 >>> mpl.get_configdir()
 >>>> mpl.get_cachedir()

now I want to use it. so in pycharm terminal I have:

$ from PIL import Image
from: can't read /var/mail/PIL

What is the problem please? can you help me solve it? Thank you very much for your help.



You are in shell not in python executing environment.

User contributions licensed under: CC BY-SA
4 People found this is helpful