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


Groups > comp.lang.python > #80952

Re:from pylab import *

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'that?': 0.05; 'error:': 0.07; 'importerror:': 0.07; 'skip:" 60': 0.07; 'exit': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'wrote': 0.14; '2.7?': 0.16; 'issue?': 0.16; 'pylab': 0.16; 'received:80.91.229.3': 0.16; 'received:97': 0.16; 'received:plane.gmane.org': 0.16; 'subject:import': 0.16; 'module': 0.19; 'finished': 0.19; 'example': 0.22; 'import': 0.22; 'install': 0.23; 'header:X-Complaints-To:1': 0.27; 'tried': 0.27; 'code': 0.31; 'file': 0.32; 'run': 0.32; '(most': 0.33; 'subject:from': 0.34; 'example,': 0.37; 'so,': 0.37; 'to:addr :python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'skip:c 50': 0.60; 'solve': 0.60; 'subject: *': 0.84; 'subject::': 0.85
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dave Angel <davea@davea.name>
Subject Re:from pylab import *
Date Sun, 16 Nov 2014 21:40:03 -0500 (EST)
Organization news.gmane.org
References <CAA+hu4UrxkMQdHym_D5zbcW8SQPvaZFZK3PxLHhO1KPNaCmPSQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 97.73.240.77
X-Newsreader PiaoHong.Usenet.Client.VIP:1.65
X-Archive encrypt
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15940.1416191998.18130.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416191998 news.xs4all.nl 2946 [2001:888:2000:d::a6]:35655
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80952

Show key headers only | 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