‘NoneType’ object has no attribute ‘to_dict’

I’am quite new to python and I am developing a passport scanner with a RaspberryPi and the passport eye module. In the end it prints outs the outcome of the scanned image. However, I also want to …

Two fullscreen tkinter windows on separate monitors on Raspbery Pi 4

I have a simple TK app that runs fullscreen just fine on one monitor, but now I want to run two fullscreen windows, one on each display on a Raspberry Pi 4. The two displays have different resolutions …

log file error in in Raspberry with Python

I am use Python3 in my Raspberry Pi, and I have a code that someone has shared with me, the following line is shown to record the log file: logging.basicConfig(filename=’/Desktop/var/log/morning/RER-…

Refreshing Authentication token for Google Calendar API with Python on Raspberry Pi

We are prototyping on a Raspberry Pi using the Google Calendar API. Each user of this service will connect his or her own calendar to the Raspberry Pi and use the calendar information. The Raspberry …

How to refence entries with a certain value within a list in python

I am getting data from database and storing it in a list called relays. this list currently looks like this: relay: [(4, ’26’, ’19’), (5, ’13’, ‘6’)] the first number of each item is the id number …

How to downgrade an Raspberry Pi Zero W from Python 3.7 to 3.6 without breaking the environment (eg, pip), to use pyaudio

I’m trying to run an FFT on a few high frequency bins of a continuous audio stream from a USB microphone input using a Raspberry Pi Zero W. The Windows PC prototype runs but when deploying to the Pi …

Trying to create a timer to pause a loop in python

Here I go messing with timers and motion sensors again. I have a PIR motion sensor connected to a raspberry pi. I want to have the motion sensor have a cooldown of one minute before it checks for …

how to update python in raspberry pi

I need python newest version in raspberry pi. I tried apt install python3 3.8 apt install python3 but this didnot work. And I also needed to update my raspberry pi python IDLE

Tkinter Python Auto Start on Raspberry Pi4

I am building my first tkinter application which works perfectly until I try to auto start it at boot. I have researched this topic and tried numerous things but nothing works correctly. I am running …

How can i make OpenCV work fully on Raspberry Pi 4 (Raspbian Buster)?

I have tried many days to install OpenCV on my Raspberry Pi 4 with Raspbian Buster but i couldn’t get it done. The installation in most cases worked but when importing or using cv2 methods like cv2….