0

I have a Python file that I want to convert to .exe using pyinstaller.
I get this error, enter image description here

I searched how to solve this and the solution was to install Pillow package. After I installed it, I face the same error again and I don't know what else to do.

7
  • Did you rebuild the EXE after installing Pillow? Commented Apr 22, 2020 at 17:11
  • Does this answer your question? How can I convert a .py to .exe for Python? Commented Apr 22, 2020 at 17:16
  • Have a look at this stackoverflow.com/questions/20060096/… Commented Apr 22, 2020 at 17:17
  • yes I did and the same problem occurred again @AKX Commented Apr 22, 2020 at 17:39
  • I'll give it a shot @Sheri Commented Apr 22, 2020 at 17:41

1 Answer 1

1

Some versions of PIL have an exposed Image class. Try this:

import Image

You can get more info on this from the official tutorial.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.