Skip to content

Image import fails on macOS 10.13 with Pillow 9.1.0 #6179

@AlphonsG

Description

@AlphonsG

What did you do?

Tried running from PIL import Image after installing Pillow from pip.

What did you expect to happen?

Import to work.

What actually happened?

Error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/alphons/.venv/rainbow-env/lib/python3.8/site-packages/PIL/Image.py", line 132, in <module>
    from . import _imaging as core
ImportError: dlopen(/Users/alphons/.venv/rainbow-env/lib/python3.8/site-packages/PIL/_imaging.cpython-38-darwin.so, 2): Symbol not found: ____chkstk_darwin
  Referenced from: /Users/alphons/.venv/rainbow-env/lib/python3.8/site-packages/PIL/.dylibs/libtiff.5.dylib (which was built for Mac OS X 11.0)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/alphons/.venv/rainbow-env/lib/python3.8/site-packages/PIL/.dylibs/libtiff.5.dylib

What are your OS, Python and Pillow versions?

  • OS: macOS 10.13 High Sierra (64 bit)
  • Python: 3.8.10
  • Pillow: 9.1.0

Note: import works using Pillow 9.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions