ImportError: cannot import name 'PILLOW_VERSION' resolved

ImportError: cannot import name 'PILLOW_VERSION' resolved

insert image description here

Article directory

Error report

I have encountered this pit in my work before, and record the problem and solution. It may not be applicable to all situations, but it can be used for your reference.
The problem description is as follows:

ImportError: cannot import name ‘PILLOW_VERSION’

insert image description here

Solution

insert image description here
The version is too high, the latest version of Pillow does not have this function or method, just lower the version!

pip install Pillow==6.2.2 --user

PS

If you have any questions, just leave a message in the comment area

Guess you like

Origin blog.csdn.net/weixin_50843918/article/details/130009847