Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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; 'package,': 0.03; 'binary': 0.05; 'pil': 0.07; 'pypi': 0.07; 'python': 0.09; 'imported': 0.09; 'mess': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sep': 0.09; 'subject:2.7': 0.09; 'subject:PIL': 0.09; 'subject:still': 0.09; "wouldn't": 0.11; 'assume': 0.11; 'slightly': 0.15; 'compile.': 0.16; 'easy_install': 0.16; 'fine.': 0.16; 'namespace,': 0.16; 'namespace.': 0.16; 'pushes': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Problems': 0.16; 'subject:questions': 0.16; 'uninstall': 0.16; 'wrote:': 0.17; "shouldn't": 0.17; 'import': 0.21; 'fine,': 0.22; 'installed': 0.23; 'seems': 0.23; 'linux': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'separate': 0.27; 'installing': 0.27; 'header:X-Complaints-To:1': 0.28; 'installed,': 0.29; "i'm": 0.29; 'install': 0.29; 'expect': 0.31; 'towards': 0.32; 'to:addr:python- list': 0.33; 'pm,': 0.35; 'subject:?': 0.35; 'received:org': 0.36; 'but': 0.36; 'should': 0.36; 'does': 0.37; 'being': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'space': 0.39; 'little': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'safe': 0.63; 'different': 0.63; 'choose': 0.65; 'fact,': 0.69; 'confusing': 0.84; 'gelonida': 0.84; 'subject:alternatives': 0.84; 'tricky': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Gelonida N Subject: Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? Date: Wed, 26 Sep 2012 23:43:32 +0200 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: unicorn.dungeon.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 In-Reply-To: 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: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348695828 news.xs4all.nl 6891 [2001:888:2000:d::a6]:55478 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30238 On 09/25/2012 02:42 PM, alex23 wrote: > On Sep 25, 6:25 pm, Gelonida N wrote: >> So it seems to be safe to use either Christoph' binary PIL distribution >> or to use Pillow. >> >> The fact, that pillow is accessable via PyPi / easy_install / PIP pushes >> me slightly towards pillow. > > >> I assume it's best to uninstall PIL before installing pillow. > > I would expect you'd be fine. Being a different package, it's a > different namespace, so they shouldn't conflict. This is what is confusing me. if I start with a new python and I just install Pillow, then pillow is imported via import PIL so it does not seem to have a separate name space If I had PIL and pillow installed, then I wouldn't even know how to choose which one to import. > >> On a Linux machine: >> What would happen in a virtualenv with sitepackages (amonst them PIL >> installed and a pillow installed ontop of it? >> I don't think I can uninstall PIL, as many distro packages depend on it. >> I don't want to create a virtualenv without site packages, as I have >> many dependencies and some of them are a little tricky to compile. > > Again, you should be fine, as it's in a separate namespace. You > definitely don't want to mess with PIL if you have other dependencies. Well I'm slightly confused, but will play a little to see what exactly works