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


Groups > comp.lang.python > #80952

Re:from pylab import *

From Dave Angel <davea@davea.name>
Subject Re:from pylab import *
Date 2014-11-16 21:40 -0500
Organization news.gmane.org
References <CAA+hu4UrxkMQdHym_D5zbcW8SQPvaZFZK3PxLHhO1KPNaCmPSQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15940.1416191998.18130.python-list@python.org> (permalink)

Show all headers | View raw


Abdul Abdul <abdul.sw84@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

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


Thread

Re:from pylab import * Dave Angel <davea@davea.name> - 2014-11-16 21:40 -0500

csiph-web