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
What did you do?
Tried running
from PIL import Imageafter installing Pillow from pip.What did you expect to happen?
Import to work.
What actually happened?
Error:
What are your OS, Python and Pillow versions?
Note: import works using Pillow 9.0.1