AttributeError: module 'PIL.Image' has no attribute 'register_extensions'

Please take a look here so that we can be helpful: How to ask for help