PIL: DLL load failed: specified procedure could not be found

前端 未结 9 895
醉酒成梦
醉酒成梦 2020-11-29 07:21

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

9条回答
  •  一生所求
    2020-11-29 08:00

    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 and PySlice_Unpack) that are used when building with Python 3.6.1.

    The solution is to upgrade to Python 3.6.1.

提交回复
热议问题