In article <eef83644-0c87-444d-855e-9be25ee72...@macports.org>, Ryan Schmidt <ryandes...@macports.org> 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. > > >>> from PIL import Image > > > > I get this error message: > > > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File > > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packa > > ges/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-packag > > es/PIL/_imaging.so > > Expected in: dynamic lookup > > 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.
/Library/Frameworks/Python.framework is the installation location for the Pythons provided by python.org binary installers. They will happily co-exist with MacPorts- and Apple-provided Pythons. That said, 2.7.0 is quite old, so consider upgrading it or deleting it if you are now just going to be using a MacPorts-based Python 2.7. -- Ned Deily, n...@acm.org _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users