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


Groups > comp.lang.python > #80949

from pylab import *

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <abdul.sw84@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'error:': 0.07; 'importerror:': 0.07; 'skip:" 60': 0.07; 'exit': 0.09; 'issue?': 0.16; 'pylab': 0.16; 'subject:import': 0.16; 'module': 0.19; 'finished': 0.19; 'thanks.': 0.20; 'example': 0.22; 'import': 0.22; 'to:name:python-list@python.org': 0.22; 'tried': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'skip:& 70': 0.31; 'file': 0.32; 'run': 0.32; '(most': 0.33; 'subject:from': 0.34; 'received:google.com': 0.35; 'example,': 0.37; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'skip:c 50': 0.60; 'solve': 0.60; 'subject: *': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=12VReJ+K59dDkZFgspmtELi9l9CoF2l1xal4MHo3tlw=; b=smv89LJsF6Q/hv/fzOJFr7VF019C4PXqX66xOmqXymTiX3jSZRFTnJRM0NHGmIFUdO Uy2UJpmUKVscKAnDImthKPAwPFrMi/T98qaPjOUmXDyuMIi+VUsg+ukwwfvznxavwlDi TyiJ/aJKOx4zK1P0W8xOpP6MzCVqI+MULtQXA6wvTb6HhojqVdGhdQcrZLuhKGP3eKb+ VmrSRni2P0ZXlZkV4pwZwfVZUX7DjIac/95fuFlwUbPnVQi190bJL+HXD/q+YoQfK5ud s9pXCtwxk/g02JMVkXikXFslLeLsGNhakurmMMMkWDZCbGIwm+Xq+Fy77ikG0Oi+0bpI jWDw==
MIME-Version 1.0
X-Received by 10.202.87.212 with SMTP id l203mr20571521oib.36.1416189898169; Sun, 16 Nov 2014 18:04:58 -0800 (PST)
Date Mon, 17 Nov 2014 03:04:58 +0100
Subject from pylab import *
From Abdul Abdul <abdul.sw84@gmail.com>
To "python-list@python.org" <python-list@python.org>
Content-Type multipart/alternative; boundary=001a113ad19cd0a13c0508046780
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.15938.1416189900.18130.python-list@python.org> (permalink)
Lines 41
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416189900 news.xs4all.nl 2958 [2001:888:2000:d::a6]:54523
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80949

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