Re: Problem pyton PIL

2014-04-15 Thread Ryan Schmidt
On Apr 15, 2014, at 21:00, Ned Deily wrote: > On Apr 15, 2014, at 12:36 , Ryan Schmidt wrote: >> Anything installed in /Library/Frameworks can potentially cause problems for >> MacPorts-installed software, as it might inadvertently find dependencies in >> /Library/Frameworks instead of the MacPo

Re: Problem pyton PIL

2014-04-15 Thread Ned Deily
On Apr 15, 2014, at 12:36 , Ryan Schmidt wrote: > On Apr 15, 2014, at 14:00, Ned Deily wrote: > > Ryan Schmidt wrote: > > > Where did /Library/Frameworks/Python.framework come from? It?s not > > > provided > > > by Apple, nor any MacPorts port, and will likely interfere with things > > > you

Re: Problem pyton PIL

2014-04-15 Thread Spinxer
Am 15.04.14 22:27, schrieb Jeremy Lavergne: /System/Library is not /Library. Am 15.04.14 22:28, schrieb Brandon Allbery: Read your own message? /Library is not /System/Library. *SIGH*… I think my System's broken :D I also have "Python 2.7.app" in /Applications In /Library/Receipts/ I fin

Re: Problem pyton PIL

2014-04-15 Thread Brandon Allbery
On Tue, Apr 15, 2014 at 4:25 PM, Spinxer wrote: > Am 15.04.14 19:10, schrieb Ryan Schmidt: > > Where did /Library/Frameworks/Python.framework come from? It’s not provided > by Apple, > > Are you sure? > > Cite: The Apple-provided build of Python is installed in > /System/Library/Frameworks/ >

Re: Problem pyton PIL

2014-04-15 Thread Jeremy Lavergne
/System/Library is not /Library. On Apr 15, 2014, at 16:25, Spinxer wrote: >> Where did /Library/Frameworks/Python.framework come from? It’s not provided >> by Apple, > Are you sure? > > Cite: The Apple-provided build of Python is installed in > /System/Library/Frameworks/Python.framework and

Re: Problem pyton PIL

2014-04-15 Thread Spinxer
Am 15.04.14 19:10, schrieb Ryan Schmidt: Where did /Library/Frameworks/Python.framework come from? It’s not provided by Apple, Are you sure? Cite: The Apple-provided build of Python is installed in /System/Library/Frameworks/Python.framework and /usr/bin/python, respectively. You should neve

Re: Problem pyton PIL

2014-04-15 Thread Spinxer
Am 15.04.14 19:58, schrieb Christopher Jones: If thats an exact representation of what you have, then you need a : in the middle of /usr/X11/bin/usr/local/git/bin Chris Well spotted! Thanks a lot! ___ macports-users mailing list macports-users@lists.ma

Re: Problem pyton PIL

2014-04-15 Thread Ryan Schmidt
On Apr 15, 2014, at 14:00, Ned Deily wrote: > Ryan Schmidt wrote: >> Where did /Library/Frameworks/Python.framework come from? It¹s not provided >> by Apple, nor any MacPorts port, and will likely interfere with things you >> want to install using MacPorts. I recommend you remove it. > > /Libr

Re: Problem pyton PIL

2014-04-15 Thread Ned Deily
In article , Ryan Schmidt wrote: > On Apr 15, 2014, at 08:00, Spinxer wrote: > > But when I do: > > > > $ python > > Python 2.7 (r27:82508, Jul 3 2010, 21:12:11) > > [GCC 4.0.1 (Apple Inc. build 5493)] on darwin > > Type "help", "copyright", "credits" or "license" for more information. > > >>>

Re: Problem pyton PIL

2014-04-15 Thread Christopher Jones
>> >> Traceback (most recent call last): >> File "", line 1, in >> File >> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/Image.py", >> line 53, in >> from PIL import _imaging as core >> ImportError: >> dlopen(/Library/Frameworks/Python.framework/Versions

Re: Problem pyton PIL

2014-04-15 Thread Christopher Jones
> Could people please stop recommending `which`? It is likely to show what your > dotfiles would do in the next shell started, NOT what the current shell > thinks. (Some versions will show what the next *login* would get, not just > the next shell in a session, depending on whether it starts as

Re: Problem pyton PIL

2014-04-15 Thread Christopher Jones
Hi, > /opt/local/bin:/Users/shk/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin/usr/local/git/bin:/opt/local/sbin:/usr/local/sbin:/Applications/wiimms-wbfs-tool/bin:/Applications/Vagrant/bin:/usr/local/mysql/bin If thats an exact representation of what you have, then you need a : in

Re: Problem pyton PIL

2014-04-15 Thread Ryan Schmidt
On Apr 15, 2014, at 08:00, Spinxer wrote: > But when I do: > > $ python > Python 2.7 (r27:82508, Jul 3 2010, 21:12:11) > [GCC 4.0.1 (Apple Inc. build 5493)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> from PIL import Image > > I get this error messa

Re: Problem pyton PIL

2014-04-15 Thread Spinxer
Am 15.04.14 15:45, schrieb Chris Jones: So, do you have that path in your $PATH (it will really help if you sent what > echo $PATH gives ) $ echo $PATH /Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.f

Re: Problem pyton PIL

2014-04-15 Thread Brandon Allbery
On Tue, Apr 15, 2014 at 9:34 AM, Jeremy Lavergne wrote: > You might also check: > which -a python > Could people please stop recommending `which`? It is likely to show what your dotfiles would do in the next shell started, NOT what the current shell thinks. (Some versions will show what the nex

Re: Problem pyton PIL

2014-04-15 Thread Chris Jones
Hi, On 15/04/14 14:41, Spinxer wrote: Am 15.04.14 15:31, schrieb Chris Jones: Looks like you are still not getting MacPorts python there. You should see something like macmini ~ > which python /opt/local/bin/python Okay… That gives me: $ which python /Library/Frameworks/Python.framework/Ve

Problem pyton PIL

2014-04-15 Thread Joshua Root
> On Tue, Apr 15, 2014 at 9:00 AM, Spinxer wrote: > >> $ python >> Python 2.7 (r27:82508, Jul 3 2010, 21:12:11) >> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin >> > > You're getting /usr/bin/python (Apple's build). No idea what's up with its > PIL. > > You probably want `sudo port select --se

Re: Problem pyton PIL

2014-04-15 Thread Spinxer
Am 15.04.14 15:31, schrieb Chris Jones: Looks like you are still not getting MacPorts python there. You should see something like macmini ~ > which python /opt/local/bin/python Okay… That gives me: $ which python /Library/Frameworks/Python.framework/Versions/2.7/bin/python Have you added m

Re: Problem pyton PIL

2014-04-15 Thread Jeremy Lavergne
Since you’re able to use port but the wrong python is picked up, it sounds like MacPorts was put as a suffix rather than prefix. As Chris said, consider sharing: echo $PATH You might also check: which -a python On Apr 15, 2014, at 9:31, Chris Jones wrote: > macmini ~ > echo $PATH > /opt/lo

Re: Problem pyton PIL

2014-04-15 Thread Chris Jones
$ sudo port select --set python python27; hash -r Password: Selecting 'python27' for 'python' succeeded. 'python27' is now active. $ python Python 2.7 (r27:82508, Jul 3 2010, 21:12:11) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more inform

Re: Problem pyton PIL

2014-04-15 Thread Spinxer
Am 15.04.14 15:20, schrieb Brandon Allbery: On Tue, Apr 15, 2014 at 9:00 AM, Spinxer > wrote: $ python Python 2.7 (r27:82508, Jul 3 2010, 21:12:11) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin You're getting /usr/bin/python (Apple's build). No idea what

Re: Problem pyton PIL

2014-04-15 Thread Brandon Allbery
On Tue, Apr 15, 2014 at 9:00 AM, Spinxer wrote: > $ python > Python 2.7 (r27:82508, Jul 3 2010, 21:12:11) > [GCC 4.0.1 (Apple Inc. build 5493)] on darwin > You're getting /usr/bin/python (Apple's build). No idea what's up with its PIL. You probably want `sudo port select --set python python27;

Problem pyton PIL

2014-04-15 Thread Spinxer
Hi! I finally managed to install ImageMagick and Python PIL. At least I thought so. But when I do: $ python Python 2.7 (r27:82508, Jul 3 2010, 21:12:11) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from PIL import Im