Importing PIL, more specifically Image from PIL, isn't working

后端 未结 1 1685
借酒劲吻你
借酒劲吻你 2020-12-11 19:10

Here is a description of what I\'ve done.

I\'m trying to write a program using PIL, but, when trying to import it (as shown bellow), an error appears (also shown b

相关标签:
1条回答
  • 2020-12-11 19:58

    There's a Python problem which means wheels built against Python 3.6.1, such as Pillow 4.1.0, won't work on Python 3.6.0.

    The fix is to update to Python 3.6.1, or install Pillow 4.0.0 (which was built against Python 3.6.0).

    For more info see: https://github.com/python-pillow/Pillow/issues/2479 https://mail.python.org/pipermail/python-dev/2017-March/147707.html https://bugs.python.org/issue29943


    Update:

    This has affected a number of Python libraries.

    However, there's the new Pillow 4.1.1 release works around this, so you can now update to Pillow 4.1.1 and use it with both Python 3.6.0 and 3.6.1.

    0 讨论(0)
提交回复
热议问题