nwhitehead / pineapple

http://nwhitehead.github.io/pineapple/
Other
352 stars 26 forks source link

Packaging issue: PILLOW fails to import in full edition #38

Closed arjo129 closed 9 years ago

arjo129 commented 9 years ago

Whenever I try to import pillow I get the following ImportError.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-6-0f6709e38f49> in <module>()
----> 1 from PIL import Image

/Applications/Pineapple-Pro.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PIL/Image.py in <module>()
     61     # Also note that Image.core is not a publicly documented interface,
     62     # and should be considered private and subject to change.
---> 63     from PIL import _imaging as core
     64     if PILLOW_VERSION != getattr(core, 'PILLOW_VERSION', None):
     65         raise ImportError("The _imaging extension was built for another "

ImportError: dlopen(/Applications/Pineapple-Pro.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PIL/_imaging.cpython-35m-darwin.so, 2): Library not loaded: /sw/lib/libjpeg.8.dylib
  Referenced from: /Applications/Pineapple-Pro.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PIL/_imaging.cpython-35m-darwin.so
  Reason: image not found
nwhitehead commented 9 years ago

This is a bundle problem. The latest changes should address this for the next release (all libraries should be included in the app). Leave a comment on this bug if the next release doesn't fix this.