close

[Solved] Import: cannot import name _imaging

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Import: cannot import name _imaging in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Import: cannot import name _imaging Error Occurs?

Today I get the following error Import: cannot import name _imaging in python.

How To Solve Import: cannot import name _imaging Error ?

  1. How To Solve Import: cannot import name _imaging Error ?

    To Solve Import: cannot import name _imaging Error I ran into this problem as well. It can happen if you have PIL installed, then install Pillow on top of it.

  2. Import: cannot import name _imaging

    To Solve Import: cannot import name _imaging Error I ran into this problem as well. It can happen if you have PIL installed, then install Pillow on top of it.

Solution 1

I ran into this problem as well. It can happen if you have PIL installed, then install Pillow on top of it.

Go to /usr/local/lib/python2.7/dist-packages/ and delete anything with “PIL” in the name (including directories). If the Pillow .egg file is there you might as well delete that too. Then re-install Pillow.

substitute “python2.7” for the version of python you’re using.

Solution 2

I had the same problem so I solved that by updating this package using the command below:

pip install -U Pillow

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read