from pylab import *

Dave Angel davea at davea.name
Mon Nov 17 03:40:03 CET 2014


Abdul Abdul <abdul.sw84 at gmail.com> Wrote in message:
> I came across an example that uses "Matplotlib".
> 
> It used the following import to use that module:
> 
> from pylab import *
> 
> When I tried to run the example, I got the following error:
> 
> C:\Python27\python.exe C:/Users/abc/PycharmProjects/ComputerVision/plot_image.py
> Traceback (most recent call last):
>   File "C:/Users/abc/PycharmProjects/ComputerVision/plot_image.py", line 4, in <module>
>     from pylab import *
> ImportError: No module named pylab
> 
> Process finished with exit code 1
> 
> Why is that? How can I solve this issue?
> 

Did you perchance install matplotlib? And if so, did you install
 it to Python 2.7?  

Neither of those is part of the standard lib.
-- 
DaveA




More information about the Python-list mailing list