My Pillow installation is broken system-wide.
Either using my OS X pillow version, or other 'isolated' installations within anaconda environments, I always get the same error, while trying to process images:
AccessInit: hash collision: 22 for both 1 and 1
It used to work in the envs, but after some urllib
installs it broke in the environments also.
I have tried, at the top of my script (to no avail):
import PIL.Image
sys.modules['Image'] = PIL.Image
from PIL import Image
I have already uninstalled an reinstalled Pillow, again to no avail.
my Python:
Python 2.7.14 |Anaconda, Inc.| (default, Oct 5 2017, 02:28:52)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
How can I make it work again?