Hi,
I have purchased a Raspberry pi 4b specifically to replicate this project.... It is running python 3.11. I can get Prometheus and Grafana working, but when it comes to the Gatt Library I hit a brick wall.. when I try and install it I get the following error -
rror: externally-managed-environment
à This environment is externally managed
â°â€> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
for the life of me I can't get this step... I have got bluepy installed and I can see and connect to my MPPT from a terminal window, but when I try and run your script it fails due to Gatt being missing....
is it possible to run using Bluepy, or do I need to install an older version of python to get it running??
Any help and suggestions would be greatly appreciated....
ideally once I have it running I will be pushing the data to a mysql dB on my web server so I can then access reports from anywhere.
Hi, I have purchased a Raspberry pi 4b specifically to replicate this project.... It is running python 3.11. I can get Prometheus and Grafana working, but when it comes to the Gatt Library I hit a brick wall.. when I try and install it I get the following error - rror: externally-managed-environment
à This environment is externally managed â°â€> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification.
for the life of me I can't get this step... I have got bluepy installed and I can see and connect to my MPPT from a terminal window, but when I try and run your script it fails due to Gatt being missing.... is it possible to run using Bluepy, or do I need to install an older version of python to get it running?? Any help and suggestions would be greatly appreciated....
ideally once I have it running I will be pushing the data to a mysql dB on my web server so I can then access reports from anywhere.
Thanks In Advance. Max