Open D3ltorohd opened 10 months ago
Hi,
Can you execute sudo /opt/hue-emulator/HueEmulator3.py
to see what error you get?
I hope thats right. Sorry for the late answer.
smarthome@iobroker:~$ sudo /opt/hue-emulator/HueEmulator3.py Traceback (most recent call last): File "/opt/hue-emulator/HueEmulator3.py", line 2, in <module> from flask import Flask ModuleNotFoundError: No module named 'flask'
If you manually run pip3 install flask
what messages you get?
i get username@raspberrypi:~ $ pip install flask==2.0.3 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 y passing --break-system-packages. hint: See PEP 668 for the detailed specification.
if i add "--break-system-packages" to the install script the packages will be installed
Issue does not already exist?
No, I did not search
Select Environment
Install Script
Home Assistant related?
No
Description
I have create an LXC on my proxmox system. So after fresh creating i install diyhue with the script.
after that it will not start. The install seems to be done with no errors. I have installed both, master and dev. Always on a new created lxc container.
Greet's D3
Errorlog:
Steps to reproduce
install -> lock with status and see the error.
Please enter your operating system details here
Debian 11
What DiyHue version(branch) are you using?
dev