Code: Alles auswählen
/home/pi/.env/bin/pip3 install psycopg2-binary
Code: Alles auswählen
/home/pi/.env/bin/pip3 install psycopg2-binary
Code: Alles auswählen
rm -r /home/pi/.env/lib/python3.9/site-packages/psycopg2*
Code: Alles auswählen
/home/pi/.env/bin/pip3 install psycopg2-binary
Code: Alles auswählen
(.env) pi@solaranzeige:~ $ rm -r /home/pi/.env/lib/python3.9/site-packages/psycopg2*
(.env) pi@solaranzeige:~ $ /home/pi/.env/bin/pip3 install psycopg2-binary
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting psycopg2-binary
Using cached https://www.piwheels.org/simple/psycopg2-binary/psycopg2_binary-2.9.9-cp39-cp39-linux_armv7l.whl (431 kB)
Installing collected packages: psycopg2-binary
Successfully installed psycopg2-binary-2.9.9
(.env) pi@solaranzeige:~ $ awtrix3connect
Traceback (most recent call last):
File "/home/pi/scripts/AWTRIX3-Connector/./awtrix3connect.py", line 40, in <module>
from funktionen import (
File "/home/pi/scripts/AWTRIX3-Connector/funktionen.py", line 12, in <module>
import psycopg2
File "/home/pi/.env/lib/python3.9/site-packages/psycopg2/__init__.py", line 51, in <module>
from psycopg2._psycopg import ( # noqa
ImportError: libpq.so.5: cannot open shared object file: No such file or directory
(.env) pi@solaranzeige:~/scripts/AWTRIX3-Connector $
Code: Alles auswählen
rm -r /home/pi/.env/
rm /home/pi/install.s*
cd /home/pi
wget https://raw.githubusercontent.com/Deepintheeast/AWTRIX3-Connector/main/install.sh
bash ./install.sh
Code: Alles auswählen
pi@solaranzeige:~ $