Open jeanmouawad opened 5 years ago
You’re missing the ImageTk module. You need to install it.
I tried to install the App on Rspi 4 with Raspbian Buster lite but when I run the following command To avoid errors I did the following:
Installed PIL (Python Imaging Language) as a .tar.gz file
Then extracted this zipped file using
Tar xvfz Imaging-1.1.7.tar.gz Then
pi@raspberrypi:~/picameraapp$ sudo python ImageTk.py
Traceback (most recent call last):
File "ImageTk.py", line 28, in
pi@raspberrypi:~/picameraapp$ sudo python Image.py
Traceback (most recent call last):
File "Image.py", line 69, in
pi@raspberrypi:~/picameraapp$ sudo python PiCameraApp.py (I tried this command using python3 also) File "PiCameraApp.py", line 7 <!DOCTYPE html> ^ SyntaxError: invalid syntax pi@raspberrypi:~/picameraapp$
Question: May be when you suggested 3. In the code: from PIL import ImageTk, Image - you meant to add some thing in the command sudo python PiCameraApp.py xxxxxx (that i am missing?)
If you can please put in the description on GitHub the step by step codes for full installation like 1. 2. 3. I would appreciate! From reading other issues it seems like people have been able to install and run the app with success and are liking it.
Comment: Bill Can you please help! When i look at the GUI on GitHub I think yours is the best i have seen in this regard
Another Question: Will this App help me change the picamera V2.1 output in any form i use it like in WebRTC etc and changes the setting and keeps it fixed/consistent in those applications?
Please Can u help me execute the code. each time i try to run the PiCameraApp.py file it gives me this : Traceback (most recent call last): File "PiCameraApp.py", line 38, in
from AnnotationOverlay import
File "/home/pi/Downloads/PiCameraApp-master/Source/AnnotationOverlay.py", line 52, in
from Dialog import
File "/home/pi/Downloads/PiCameraApp-master/Source/Dialog.py", line 43, in
from PIL import Image, ImageTk, ExifTags
ImportError: cannot import name ImageTk
Whenever i try to run all the codes it gives errors like this. Please Help.