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


Groups > comp.lang.python > #30238

Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?

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 <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; '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 <gelonida@gmail.com>
Subject Re: PIL questions: still supported? Problems on 2.7 for win? alternatives?
Date Wed, 26 Sep 2012 23:43:32 +0200
References <mailman.1207.1348517099.27098.python-list@python.org> <bacdafa3-99c2-40c4-959d-8dd195b5aa88@t2g2000pbt.googlegroups.com> <mailman.1297.1348561539.27098.python-list@python.org> <ff596baa-733a-413d-83c7-bb9246601e2a@kg10g2000pbc.googlegroups.com>
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 <ff596baa-733a-413d-83c7-bb9246601e2a@kg10g2000pbc.googlegroups.com>
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1459.1348695828.27098.python-list@python.org> (permalink)
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

Show key headers only | View raw


On 09/25/2012 02:42 PM, alex23 wrote:
> On Sep 25, 6:25 pm, Gelonida N <gelon...@gmail.com> 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



Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PIL questions: still supported? Problems on 2.7 for win? alternatives? Gelonida N <gelonida@gmail.com> - 2012-09-24 22:04 +0200
  Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? alex23 <wuwei23@gmail.com> - 2012-09-24 16:38 -0700
    Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? cjgohlke@gmail.com - 2012-09-24 17:32 -0700
    Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? Alex Clark <aclark@aclark.net> - 2012-09-24 21:46 -0400
      Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? alex23 <wuwei23@gmail.com> - 2012-09-24 19:11 -0700
    Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? Gelonida N <gelonida@gmail.com> - 2012-09-25 10:25 +0200
      Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? alex23 <wuwei23@gmail.com> - 2012-09-25 05:42 -0700
        Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? Gelonida N <gelonida@gmail.com> - 2012-09-26 23:43 +0200
          Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? alex23 <wuwei23@gmail.com> - 2012-09-26 17:28 -0700
  Re: PIL questions: still supported? Problems on 2.7 for win? alternatives? alex23 <wuwei23@gmail.com> - 2012-09-24 19:09 -0700

csiph-web