Python • Re: Capture continous with counter start ftom x
Thanks for the replyI get attributeerror:fornathack object has no attribute writeCould you please help?Statistics: Posted by RPI_333333 — Mon Apr 15, 2024 12:16 pm
View ArticlePython • Does is Startnotify() called in this code?
I'm using the 'server_gatt_temp.py' code from (https://www.bluetooth.com/bluetooth-res ... tudy-guide). It includes a definition for StartNotify(), but it doesn't seem to work when I run the code. Is...
View ArticlePython • Re: Does is Startnotify() called in this code?
Can you post your code (in code tags to keep indentation) please? If it's long please use pastebin / GitHub and link to here as it is easier to read.I'm not going to sign up to get the book to hunt...
View ArticlePython • Re: Python code that works on my Pi2 won't work on my Pi5
pygame 2.1.2 (SDL 2.26.5, Python 3.11.2)Hello from the pygame community. https://www.pygame.org/contribute.htmlAuthorization required, but no authorization protocol specifiedThis seems to imply you...
View ArticlePython • Re: servo PCA9685
re-energize a servo PCA9685 make the servo go 90 the de-energize a servo PCA9685?Code: import timeimport boardimport busioimport adafruit_pca9685# Initialize I2C bus and PCA9685i2c =...
View ArticlePython • PyQt6 in venv with pip
Hellotrying to install PyQt6 with pip in a venv on a Pi 400. Got venv installed and activated but get error trying to install PyQt6. Is this supposed to work on a 400? Here is the error response....
View ArticlePython • Re: Reading GPS
BINGO! New GPS module arrived in the post today, works a treat using "serial.readline" and "/dev/serial0" Statistics: Posted by Ace Rimmer — Tue Apr 16, 2024 4:30 am
View ArticlePython • list/dict error - not understanding
Hello everyone. Back in 2022, I had issues with inserting data into a database. The data came from temperature sensors wired to an arduino thus the arduino was wired to a pi 3b. We solved the issue,...
View ArticlePython • Re: list/dict error - not understanding
This mydata = ['AirTemp', ' 71.73']is a listFirst item in the list, mydata[0] = 'AirTemp'Second item in the list, mydata [1] = '71.73'This is a dictionary:mydata = { 'AirTemp':...
View ArticlePython • Python3 + Gphoto latency issue
Hello everyone,I'm currently working on a project where I detect if a microswitch is triggered. Upon activation, I use the gphoto2 command to capture and immediately download a photo.However, I've...
View ArticlePython • Re: PyQt6 in venv with pip
I can't help with specifics, but you should try asking here https://github.com/altendky/pyqt-tools/issuesStatistics: Posted by memjr — Wed Apr 17, 2024 3:23 am
View ArticlePython • sending data to a google spreadheet from Raspi 5B
Hi, I just finished creating and publishing a Gist https://gist.github.com/PaulskPt/893f1c ... 2343d02c39, which I want to share with you. I contains a Python script that performs various...
View ArticlePython • python and open cv
hello, could you please help me install python and opencv on a raspberry pi 4 model B with a module 3 camera attached? Thanks for helpStatistics: Posted by Veronika_37 — Thu Apr 18, 2024 5:49 pm
View ArticlePython • Re: python and open cv
hello, could you please help me install python and opencv on a raspberry pi 4 model B with a module 3 camera attached? Thanks for helpWhat Operating System do you plan to run on the RPi4B?(Because I...
View ArticlePython • Multiple threads collapsing in Python with Raspberry Pi 4
I'm having problems trying to finish a college project working with Raspberry Pi 4B.The project is in Python and consists of 5 threads, where 2 of them run Machine Learning predictions, and a 3rd one...
View ArticlePython • Re: Multiple threads collapsing in Python with Raspberry Pi 4
Post your code in code tags.Statistics: Posted by rpiMike — Fri Apr 19, 2024 11:45 am
View ArticlePython • python
this is my problem: raspberry@raspberrypi:~ $ pip3 install imutilserror: externally-managed-environment× This environment is externally managed╰─> To install Python packages system-wide, try apt...
View ArticlePython • Re: python
Read and follow the advice provided."For more information visit http://rptl.io/venv"Example:Code: david@rp54bw64full0512:~/Support/V37 $ python -m venv --system-site-packages...
View ArticlePython • Re: Management software with image comparison
What is your question?If you are going to post code, use the CODE display on the menu to retain indentation.Statistics: Posted by DS256 — Sat Apr 20, 2024 1:50 pm
View ArticlePython • Re: sending data to a google spreadheet from Raspi 5B
Today I managed to send the data from within Python directly to Google Scripts script, which puts the data into the Google Sheets spreadsheet. This needs the use of the Google oauth protocol for...
View Article