Hallo,
Habe unter Debian 10 Buster die 1.7.2 nach https://www.smarthomeng.de/user/inst...arthomeng.html neu installiert.
Lief soweit problemlos (Bis auf den Admin Login), nach einem Restart läuft es aber nicht mehr:
2020-12-28 13:27:05 WARNING __main__ -------------------- Init SmartHomeNG 1.7.2.master (3828810e) --------------------
2020-12-28 13:27:06 WARNING __main__ Running in Python interpreter 'v3.7.3 final' on Linux-4.4.54-ti-r93-armv7l-with-debian-10.7 (pid=1010)
2020-12-28 13:27:08 ERROR lib.shpypi test_requirements: 'pycurl' not installed. Minimum v7.43.0 needed
2020-12-28 13:27:08 WARNING lib.shpypi Installing plugin requirements for the current user, please wait...
2020-12-28 13:27:08 WARNING lib.shpypi Using PIP command: '/usr/bin/pip3'
2020-12-28 13:28:20 ERROR lib.shpypi WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
2020-12-28 13:28:20 CRITICAL __main__ Python package requirements for configured plugins are not met and unable to install those requirements
2020-12-28 13:28:20 CRITICAL __main__ Do you have multiple Python3 Versions installed? Maybe PIP3 looks into a wrong Python environment. Try to configure pip_command in etc/smarthome.yaml
2020-12-28 13:28:20 CRITICAL __main__ Aborting
In der Anleitung steht was dazu, aber als DAU kann ich das nicht auflösen:
Falls mehrere Python3 Versionen installiert sind, kann es zu Problemen kommen, da pip die Bibliotheken immer nur in eine der installierten Python 3 Versionen installiert.
Um sicherzustellen, dass die Bibliotheken in die Python3 Version installiert werden, muss pip3 aus genau dieser Python3 Umgebung aufgerufen werden.
Um das sicherzustellen, ist statt
pip3 install -r requirements/base.txt --user
der folgende Befehl auszuführen:
<python used to start SmartHomeNG> -m pip3 install -r requirements/base.txt --user
Wie komme ich aus dieser Schleife heraus?
PS: Oben im Link steht was zu möglichen Ursachen, aber leider keine wirklich (verständliche) Lösung...
Gruß Jürgen
Habe unter Debian 10 Buster die 1.7.2 nach https://www.smarthomeng.de/user/inst...arthomeng.html neu installiert.
Lief soweit problemlos (Bis auf den Admin Login), nach einem Restart läuft es aber nicht mehr:
2020-12-28 13:27:05 WARNING __main__ -------------------- Init SmartHomeNG 1.7.2.master (3828810e) --------------------
2020-12-28 13:27:06 WARNING __main__ Running in Python interpreter 'v3.7.3 final' on Linux-4.4.54-ti-r93-armv7l-with-debian-10.7 (pid=1010)
2020-12-28 13:27:08 ERROR lib.shpypi test_requirements: 'pycurl' not installed. Minimum v7.43.0 needed
2020-12-28 13:27:08 WARNING lib.shpypi Installing plugin requirements for the current user, please wait...
2020-12-28 13:27:08 WARNING lib.shpypi Using PIP command: '/usr/bin/pip3'
2020-12-28 13:28:20 ERROR lib.shpypi WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
2020-12-28 13:28:20 CRITICAL __main__ Python package requirements for configured plugins are not met and unable to install those requirements
2020-12-28 13:28:20 CRITICAL __main__ Do you have multiple Python3 Versions installed? Maybe PIP3 looks into a wrong Python environment. Try to configure pip_command in etc/smarthome.yaml
2020-12-28 13:28:20 CRITICAL __main__ Aborting
In der Anleitung steht was dazu, aber als DAU kann ich das nicht auflösen:
Falls mehrere Python3 Versionen installiert sind, kann es zu Problemen kommen, da pip die Bibliotheken immer nur in eine der installierten Python 3 Versionen installiert.
Um sicherzustellen, dass die Bibliotheken in die Python3 Version installiert werden, muss pip3 aus genau dieser Python3 Umgebung aufgerufen werden.
Um das sicherzustellen, ist statt
pip3 install -r requirements/base.txt --user
der folgende Befehl auszuführen:
<python used to start SmartHomeNG> -m pip3 install -r requirements/base.txt --user
Wie komme ich aus dieser Schleife heraus?
PS: Oben im Link steht was zu möglichen Ursachen, aber leider keine wirklich (verständliche) Lösung...
Gruß Jürgen
Kommentar