-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem starting .py script and webserver on Pi4/OS Bookworm #70
Comments
you have to do some steps
And run the installation with venv `python3 -m venv pirowflo pip3 install pyserial |
Hi Thanks to @TbsJah for the above. I had the same issue as @ILAHWWINC and this has moved me forward, but I still can't quite get it over the line. When I run pirowflo in the venv (which I'm assuming I'm supposed to do), I get the following: (pirowflo) chocolate@raspberrypi:~/pirowflo/src $ python3 waterrowerthreads.py During handling of the above exception, another exception occurred: Traceback (most recent call last): IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for We have compiled some common reasons and troubleshooting tips at:
Please note and check the following:
and make sure that they are the versions you expect. Original error was: libopenblas.so.0: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): If I run from outside the venv, instead, it still can't find gatt. I've also tried running without the "python" command (so just './waterrowerthreads.py -i s4 -b -a', but that gives me a slightly different error: Python script to broadcast waterrower data over BLE and ANT
To begin choose an interface from where the data will be taken from either the S4 Monitor connected via USB or Then select which broadcast methode will be used. Bluetooth low energy or Ant+ or both. e.g. use the S4 connected via USB and broadcast data over bluetooth and Ant+ python3 waterrowerthreads.py -i s4 -b -a Thanks in advance! |
Try to install the project from here It also took me a while to find the errors. |
Thank you so much @TbsJah! This worked like a charm (after I realised I needed to activate the venv and launch from there)! I now have full data from my smartrow (including power readings, stroke rate etc) going to my Garmin Epix and EXR perfectly! I am also unreasonably excited by the whole thing! :-) If you and @inonoob have coffee pages, happy to buy you one. In any event, very much appreciate your hard work. Thank you again! |
Dear all, I'm sorry, that I haven't manage the project in a long time. I still row very regularly but life caught up with me. Meaning, my time for this project is nearly 0. And I must admit my programming skills are no longer on the level it was at the beginning of the project. So If we have merge request so we can make the project work again without too much trouble please. Let me know. Glad that I could create something that helps people. Enjoy |
Could one of you (@TbsJah or @squiggs1982 ) please tell me what I need to do to activate the venv in this context and use it?
|
Install as descriped here python3 -m venv pirowflo pip3 install pyserial Or just install direct from here :) And again |
I try to install pirowflo on a Pi4 / RaspberryOS Bookworm Full but it will not run.
I can not connexct to the webserver. When i run the script from commadline i get this output.
pi@raspberrypi:~/pirowflo/src $ python3 waterrowerthreads.py -i s4 -b -a
Traceback (most recent call last):
File "/home/pi/pirowflo/src/waterrowerthreads.py", line 34, in
from adapters.smartrow import smartrowtobleant
File "/home/pi/pirowflo/src/adapters/smartrow/smartrowtobleant.py", line 4, in
import gatt
ModuleNotFoundError: No module named 'gatt'
The text was updated successfully, but these errors were encountered: