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: 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 Subject: Re:from pylab import * Date: Sun, 16 Nov 2014 21:40:03 -0500 (EST) Organization: news.gmane.org References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 Abdul Abdul 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 > 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