Moin,
beim Installieren von SHNG1.7.2 und nach dem Aktivieren des UZSU-Plugins auf einem Raspberry Pi3B ist folgender Feher aufgetreten:
Im angemeckerten Pfad gibt es nur ein pip3 ohne .7, auch nach updaten von pip.
Ich habe dann die Abhänigkeiten über
manuell installiert.
SHNG läuft zwar wieder hoch, aber UZSU wird nicht geladen:
In der Admin wird mir aber angezeigt das scipy in der Version 1.5.4 installiert ist, auch numpy 1.19.4.
Ich habe Python in Version 3.7.3.
Was mache ich falsch bzw. habe ich vergessen zu installieren?
beim Installieren von SHNG1.7.2 und nach dem Aktivieren des UZSU-Plugins auf einem Raspberry Pi3B ist folgender Feher aufgetreten:
2020-11-09 20:32:44 WARNING __main__ -------------------- Init SmartHomeNG 1.7.2.master (3828810e) --------------------
2020-11-09 20:32:44 WARNING __main__ Running in Python interpreter 'v3.7.3 final' on Linux-5.4.72-v7+-armv7l-with-debian-10.6 (pid=1644)
2020-11-09 20:32:45 ERROR lib.shpypi test_requirements: 'numpy' not installed, any version needed
2020-11-09 20:32:45 ERROR lib.shpypi test_requirements: 'scipy' not installed. Minimum v1.1.0 needed
2020-11-09 20:32:45 WARNING lib.shpypi Installing plugin requirements for the current user, please wait...
2020-11-09 20:32:45 WARNING lib.shpypi Using PIP command: '/usr/bin/pip3.7'
2020-11-09 20:32:45 ERROR lib.shpypi /bin/sh: 1: /usr/bin/pip3.7: not found
2020-11-09 20:32:44 WARNING __main__ Running in Python interpreter 'v3.7.3 final' on Linux-5.4.72-v7+-armv7l-with-debian-10.6 (pid=1644)
2020-11-09 20:32:45 ERROR lib.shpypi test_requirements: 'numpy' not installed, any version needed
2020-11-09 20:32:45 ERROR lib.shpypi test_requirements: 'scipy' not installed. Minimum v1.1.0 needed
2020-11-09 20:32:45 WARNING lib.shpypi Installing plugin requirements for the current user, please wait...
2020-11-09 20:32:45 WARNING lib.shpypi Using PIP command: '/usr/bin/pip3.7'
2020-11-09 20:32:45 ERROR lib.shpypi /bin/sh: 1: /usr/bin/pip3.7: not found
Ich habe dann die Abhänigkeiten über
sudo pip3 install -r /usr/local/smarthome/plugins/uzsu/requirements.txt
SHNG läuft zwar wieder hoch, aber UZSU wird nicht geladen:
2020-11-09 20:59:10 WARNING __main__ -------------------- Init SmartHomeNG 1.7.2.master (3828810e) --------------------
2020-11-09 20:59:10 WARNING __main__ Running in Python interpreter 'v3.7.3 final' on Linux-5.4.72-v7+-armv7l-with-debian-10.6 (pid=633)
2020-11-09 20:59:11 WARNING lib.shtime Nutze Feiertage für Land 'DE', Provinz 'NI', State '', 1 benutzerdefinierte Feiertagsdefinition(en) definiert
2020-11-09 20:59:18 WARNING plugins.uzsu Unable to import Python package 'scipy' which is necessary for interpolation.
2020-11-09 20:59:18 ERROR lib.plugin Plugins: Plugin 'uzsu' initialization failed, plugin not loaded
2020-11-09 20:59:18 WARNING lib.item load_itemdefinitions(): For testing the joined item structs are saved to /usr/local/smarthome/etc/structs_joined.yaml
2020-11-09 20:59:10 WARNING __main__ Running in Python interpreter 'v3.7.3 final' on Linux-5.4.72-v7+-armv7l-with-debian-10.6 (pid=633)
2020-11-09 20:59:11 WARNING lib.shtime Nutze Feiertage für Land 'DE', Provinz 'NI', State '', 1 benutzerdefinierte Feiertagsdefinition(en) definiert
2020-11-09 20:59:18 WARNING plugins.uzsu Unable to import Python package 'scipy' which is necessary for interpolation.
2020-11-09 20:59:18 ERROR lib.plugin Plugins: Plugin 'uzsu' initialization failed, plugin not loaded
2020-11-09 20:59:18 WARNING lib.item load_itemdefinitions(): For testing the joined item structs are saved to /usr/local/smarthome/etc/structs_joined.yaml
Ich habe Python in Version 3.7.3.
Was mache ich falsch bzw. habe ich vergessen zu installieren?
Kommentar