question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'PIL' (totally new to python)

See original GitHub issue

I installed Python 2.5.3, 3.4.1 and the newest Python, and ffmpeg is working, and pip seems to work. When I run pip list it shows Pillow (2.5.3) exists. I have the jumpcutter-master folder in my downloads folder (does it have to be in a specific location?) I drag jumpcutter.py into cmd and run it, and I get this:

C:\Users\pitot>C:\Users\pitot\Downloads\jumpcutter-master\jumpcutter-master\jumpcutter.py
Traceback (most recent call last):
  File "C:\Users\pitot\Downloads\jumpcutter-master\jumpcutter-master\jumpcutter.py", line 2, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'

I’m totally new to Python and the only coding experience I have is one semester of Java, so I barely understand anything I’ve read on the internet about this issue. Can you guys dumb it down a little for me? Do I have to add more things to the “PATH” variable or something? Do I need a special python terminal or is cmd prompt ok?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
luizfdflorescommented, Apr 16, 2019

Make sure to install Pillow at the right version pip install Pillow@2.5.3

0reactions
ozanhalisiltercommented, Nov 14, 2019

Have you tried to install pillow under that file?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: No module named PIL - Stack Overflow
Having a different name for the library and the Python module is unusual, but this is what was chosen for (some versions of)...
Read more >
ModuleNotFoundError: No module named 'PIL' in Python
The Python "ModuleNotFoundError: No module named 'PIL'" occurs when we forget to install the Pillow module before importing it or install it in...
Read more >
ModuleNotFoundError: No module named 'PIL' - Python Help
I installed Pillow. What version of Python are you using to run the script? You have to install Pillow for each and every...
Read more >
[SOLVED] Python No Module Named Pil
The Python interpreter may not detect specific modules when imported. Therefore, upon execution, Python will return the ModuleNotFoundError: No ...
Read more >
No module named PIL · Issue #3851 · python-pillow ... - GitHub
After I installed pip, using the same cd\ and cd (Given in the site), I changed the location to C:\Users\<User name>\AppData\Local\Programs\ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found