Open edward2306 opened 5 years ago
Hi @edward2306 ,
Please install PIL and Tkinter python package. I mentioned below command.
Python 2:
For PIL:
sudo pip install Pillow
For Tkinter
sudo apt-get install python-tk
Python 3:
For PIL:
sudo pip3 install Pillow
For Tkinter
sudo apt-get install python3-tk
For the imports you can do something like this:
try:
#Python 2
from Tkinter import *
import tkMessageBox
except ImportError:
#Python 3
from tkinter import *
import tkinter.messagebox
I still clone this repository. When i want to run "python main.py". But, i have some issues like that :
Traceback (most recent call last): File "main.py", line 12, in
from PIL import Image, ImageTk
ImportError: No module named PIL
anyone can help me about this problem? thank you