Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80949

from pylab import *

Date 2014-11-17 03:04 +0100
Subject from pylab import *
From Abdul Abdul <abdul.sw84@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15938.1416189900.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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?

Thanks.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

from pylab import * Abdul Abdul <abdul.sw84@gmail.com> - 2014-11-17 03:04 +0100

csiph-web