I'm trying to use PyCharm with LUbuntu 20.04. I have Python 3.8.2 installed. My first 2 lines of code are:
from tkinter import *
from PIL import ImageTk, Image
When I run it in Pycharm (version 2020.2 CE) I get the following error:
from PIL import ImageTk, Image
ModuleNotFoundError: No module named 'PIL'
If I open a terminal and run my file with python3 file.py it runs perfectly fine. If I open my file in Idle and press F5 (or run it) it runs fine.
Why would PyCharm throw an error when others don't? I'm sure I'm not including some info you need to answer my question, so let me know what else I can provide.