It seems that “PILLOW_VERSION” has been removed from “PIL” since pillow 7.0.0.
Therefore, scripts like below will raise an error even if pillow has been installed.
try:
from PIL import PILLOW_VERSION
except:
print("Please install the module 'Pillow' for image processing, e.g.")
print("pip install pillow")
sys.exit(-1)
Though this can be addressed by installing an older pillow, e.g. pillow 6.2.1, It would be great if you can revise the scripts to make them compatible with new pillow versions.
It seems that “PILLOW_VERSION” has been removed from “PIL” since pillow 7.0.0. Therefore, scripts like below will raise an error even if pillow has been installed.
Though this can be addressed by installing an older pillow, e.g. pillow 6.2.1, It would be great if you can revise the scripts to make them compatible with new pillow versions.