Bei der Aktivierung eines neuen Plugins werden die required packages automatisch installiert.
das ging aber heute bei mir schief; ich musste es zu Fuß installieren. warum ?
danach versucht SHNG immer wieder neu zu starten; loop.
das ging aber heute bei mir schief; ich musste es zu Fuß installieren. warum ?
Code:
2024-05-17 19:40:25 NOTICE lib.smarthome -------------------- Init SmartHomeNG v1.10.0-master (4b25822a0) --------------------
2024-05-17 19:40:25 NOTICE lib.smarthome Running in Python interpreter 'v3.11.2 final' in virtual environment, from directory /usr/local/smarthome
2024-05-17 19:40:25 NOTICE lib.smarthome - operating system 'Debian GNU/Linux 12 (bookworm)' (pid=141389)
2024-05-17 19:40:25 NOTICE lib.smarthome - on 'Raspberry Pi (Rev. c03114)'
2024-05-17 19:40:27 WARNING lib.shpypi test_requirements: 'pymodbus' not installed. Minimum v3.5.2 needed
2024-05-17 19:40:27 NOTICE lib.shpypi Installing plugin requirements for the current user, please wait...
2024-05-17 19:40:27 NOTICE lib.shpypi Using auto-determined PIP: '/usr/local/smarthome/venvs/py_shng/bin/pip3'
2024-05-17 19:40:28 NOTICE lib.shpypi Running in a virtualenv environment - installing plugin requirements only to current virtual environment, please wait...
2024-05-17 19:40:29 ERROR lib.shpypi error: 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.
2024-05-17 19:40:29 CRITICAL lib.smarthome Python package requirements for configured plugins are not met and unable to install those requirements
2024-05-17 19:40:29 CRITICAL lib.smarthome Do you have multiple Python3 Versions installed? Maybe PIP3 looks into a wrong Python environment. Try to configure pip_command in etc/smarthome.yaml
2024-05-17 19:40:29 CRITICAL lib.smarthome Aborting


Kommentar