Problem pyton PIL

Spinxer spinxer at wolke7.net
Tue Apr 15 06:25:25 PDT 2014


Am 15.04.14 15:20, schrieb Brandon Allbery:
> On Tue, Apr 15, 2014 at 9:00 AM, Spinxer <spinxer at wolke7.net 
> <mailto:spinxer at wolke7.net>> 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.
No. Sorry, forgot to mention but

> sudo port select --set python python27; hash -r
I already did.

But to be safe I redid:

$ 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 information.
 >>> from PIL import Image
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/Image.py", 
line 53, in <module>
     from PIL import _imaging as core
ImportError: 
dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/_imaging.so, 
2): Symbol not found: _jpeg_resync_to_restart
   Referenced from: 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/_imaging.so
   Expected in: dynamic lookup


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140415/d3822716/attachment.html>


More information about the macports-users mailing list