I\'ve been beginning to work with images in Python and I wanted to start using PIL (Pillow). To install it, I ran pip install Pillow
. When installing, PIL was n
I had this problem as well with Python 3.6. I just avoided the problem by uninstalling pillow (4.1.0) and then installing an older version of pillow (4.0.0). It seems to run okay with the older version.
This works for me using win10 and py 3.6. Simply uninstall Pillow 4.1.0 pip3 uninstall Pillow Then install Pillow 4.0.0 pip3 install Pillow==4.0.0
This problem is also fixed by upgrading Python to 3.6.1, per this GitHub discussion.
The difference is that Pillow 4.1.0 was built with Python 3.6.1 while Pillow 4.0.0 was built with Python 3.6.0.
Apparently
PYTHON36.DLL
from Python 3.6.0 is missing functions (PySlice_AdjustIndices
andPySlice_Unpack
) that are used when building with Python 3.6.1.The solution is to upgrade to Python 3.6.1.