Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsreader4.netcologne.de!news.netcologne.de!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'importerror:': 0.07; 'modules.': 0.07; 'python': 0.08; 'from:addr:python': 0.09; 'subject:image': 0.09; 'subject:library': 0.09; 'subject:python': 0.12; 'wrote:': 0.15; 'library': 0.15; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'module?': 0.16; 'received:84.92': 0.16; 'received:84.92.122': 0.16; 'received:84.92.122.60': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'reply-to:addr:python-list': 0.16; 'subject:install': 0.16; 'url:pythonware': 0.16; '>>>': 0.16; '(most': 0.21; 'header:In-Reply-To:1': 0.22; 'module,': 0.23; 'wrong?': 0.23; 'wonder': 0.23; 'traceback': 0.25; 'work.': 0.28; 'url:products': 0.28; 'received:84': 0.28; 'import': 0.29; 'module': 0.30; 'version': 0.30; 'subject:?': 0.31; 'usual': 0.32; 'named': 0.32; 'does': 0.32; "what's": 0.33; 'to:addr:python- list': 0.34; 'header:User-Agent:1': 0.34; 'it?': 0.34; 'follows:': 0.34; 'last):': 0.35; 'reply-to:addr:python.org': 0.35; 'surprised': 0.35; 'thank': 0.35; "isn't": 0.35; 'file': 0.36; 'some': 0.37; 'subject:: ': 0.38; 'think': 0.38; 'should': 0.39; 'to:addr:python.org': 0.39; 'here:': 0.64; 'details': 0.65; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.72; 'subject:myself': 0.84; 'subject:should': 0.84 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlAGAGNAHk5UXebj/2dsb2JhbABTmEqOeHeIfMIbhjoEl2OLTw Date: Thu, 14 Jul 2011 02:04:54 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: should i install python image library by myself? References: <201107140818034940258@gmail.com> In-Reply-To: <201107140818034940258@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: python-list@python.org 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1310605575 news.xs4all.nl 23888 [2001:888:2000:d::a6]:39846 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:9455 On 14/07/2011 01:18, think wrote: > when i type import image in the python interactive command, i am > surprised to find that it does not work. the details are as follows: > >>> import image > Traceback (most recent call last): > File "", line 1, in ? > ImportError: No module named image > i wonder the image library should be a buildin module, then why i cannot > import it? > what's wrong? or some version of python does not include image library > as a buildin module? > so can anybody recommend a version of python which include image libary, > thank you ; ) > The usual image library used in Python is the Python Imaging Library ("PIL"). It isn't one of the standard modules. Have a look here: http://www.pythonware.com/products/pil/