-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add virtual environment to the README setup instructions #175
Comments
I followed the link to http://rptl.io/venv and there it is stated clearly: IMPORTANT |
Hey there! I myself am a big fan of python venvs and would support that change. Could you please provide a PR with the relevant steps in the README? Thanks! |
Hi Thom, The openhabian-config repo should be amended to, is this a separate action, or are taking care of that? |
Hey! No worries. Openhabian is unrelated and you would need to provide the same steps to them. You can open a ticket in the same way and someone might help you to include those changes. |
Debain 12 (Bookworm) forces the use of python virtual enviroments for some packages. Installation script for miflora-mqtt-daemon is edited according to the proposed change in the README of miflora-mqtt-daemon. See PR: ThomDietrich/miflora-mqtt-daemon#176. PR ThomDietrich/miflora-mqtt-daemon#175 is made to update the systemd service file. which will be used also when installing the package via openhabian-config. Signed-off-by: thicknesss <[email protected]>
Debain 12 (Bookworm) forces the use of python virtual enviroments for some packages. Installation script for miflora-mqtt-daemon is edited according to the proposed change in the README of miflora-mqtt-daemon. See PR: ThomDietrich/miflora-mqtt-daemon#176. PR ThomDietrich/miflora-mqtt-daemon#175 is made to update the systemd service file. which will be used also when installing the package via openhabian-config. Signed-off-by: thicknesss <[email protected]>
Debain 12 (Bookworm) forces the use of python virtual enviroments for some packages. Installation script for miflora-mqtt-daemon is edited according to the proposed change in the README of miflora-mqtt-daemon. See PR: ThomDietrich/miflora-mqtt-daemon#176. PR ThomDietrich/miflora-mqtt-daemon#175 is made to update the systemd service file. which will be used also when installing the package via openhabian-config. Signed-off-by: thicknesss <[email protected]>
Debain 12 (Bookworm) forces the use of python virtual enviroments for some packages. Installation script for miflora-mqtt-daemon is edited according to the proposed change in the README of miflora-mqtt-daemon. See PR: ThomDietrich/miflora-mqtt-daemon#176. PR ThomDietrich/miflora-mqtt-daemon#175 is made to update the systemd service file. which will be used also when installing the package via openhabian-config. Signed-off-by: thicknesss <[email protected]>
Hi,
I had to reinstall openhabian op rpi 3b, so choose the latest version based on debian12.
but now miflora doesn't run as should be.
the error in journalctl -u miflora:
mei 19 19:45:41 domoberry python3[867]: Traceback (most recent call last): mei 19 19:45:41 domoberry python3[867]: File "/opt/miflora-mqtt-daemon/miflora-mqtt-daemon.py", line 14, in <module> mei 19 19:45:41 domoberry python3[867]: from unidecode import unidecode mei 19 19:45:41 domoberry python3[867]: ModuleNotFoundError: No module named 'unidecode' mei 19 19:45:41 domoberry systemd[1]: miflora.service: Main process exited, code=exited, status=1/FAILURE mei 19 19:45:41 domoberry systemd[1]: miflora.service: Failed with result 'exit-code'. mei 19 19:45:41 domoberry systemd[1]: Failed to start miflora.service - Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon. mei 19 19:45:41 domoberry systemd[1]: miflora.service: Scheduled restart job, restart counter is at 3. mei 19 19:45:41 domoberry systemd[1]: Stopped miflora.service - Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon.
so I did run : pip3 install -r requirements.txt manualy (as per previous issues) and got:
Should miflora be installed in a virtual enviroment so it doesn't conflict with any other package?
The text was updated successfully, but these errors were encountered: