from pylab import *

MRAB python at mrabarnett.plus.com
Sun Nov 16 21:28:09 EST 2014


On 2014-11-17 02:04, Abdul Abdul wrote:
> 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?
>
Have you downloaded and installed the relevant module/package? It's not
part of the standard library.



More information about the Python-list mailing list