Skip to content Skip to sidebar Skip to footer

Pil And Pillow. Importerror: Cannot Import Name '_imaging'

Running from PIL import Image import pytesseract as pt text = pt.image_to_string(Image.open('text.png')) gives me Traceback (most recent call last): File 'C:\Users\Rasmus\wor

Solution 1:

What is your version of pillow,

Pillow >= 2.1.0 no longer supports “import _imaging”. Please use “from PIL.Image import core as _imaging” instead.

this is the official document

https://pillow.readthedocs.io/en/5.1.x/installation.html#warnings

Solution 2:

Uninstall and install pillow mostly this will solve this issue

Post a Comment for "Pil And Pillow. Importerror: Cannot Import Name '_imaging'"