deps no longer install/update #4120

Closed
opened 2024-12-06 08:15:59 +01:00 by BillK · 2 comments

Not quite the same as #1243

a couple of versions back, deleting EXTERNALLY-MANAGED was no longer sufficient for me. I have been able to copy the last working deps over but now I am trying to add a new integration (frigate) and get "Unable to install package hass-web-proxy-lib==0.0.7: error: No virtual environment found; run uv venv to create an environment, or pass --system to install into a non-virtual environment".

"uv" is on the system. Googling implies this as a common error stemming from some changes within homeassistant having multiple causes/fixes.

My problem is no systemd and non-docker environment so I cant find how to check/fix my openrc system (there are a couple of gentoo/bsd comments but they use docker)

Can anyone suggest a workaround?
BillK

Not quite the same as #1243 a couple of versions back, deleting EXTERNALLY-MANAGED was no longer sufficient for me. I have been able to copy the last working deps over but now I am trying to add a new integration (frigate) and get "Unable to install package hass-web-proxy-lib==0.0.7: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment". "uv" is on the system. Googling implies this as a common error stemming from some changes within homeassistant having multiple causes/fixes. My problem is no systemd and non-docker environment so I cant find how to check/fix my openrc system (there are a couple of gentoo/bsd comments but they use docker) Can anyone suggest a workaround? BillK
Author

Stumbled over some comments about breaking changes for HA 10.4+ on proxmox not being backwards compatible and requiring a new install. I am currently running HA bare metal on an odroid N2 since mid-2021 so maybe its time to redo it from scratch. I am currently trying an install into an LXC container (for flexibility) and will see how that goes.
BillK

Stumbled over some comments about breaking changes for HA 10.4+ on proxmox not being backwards compatible and requiring a new install. I am currently running HA bare metal on an odroid N2 since mid-2021 so maybe its time to redo it from scratch. I am currently trying an install into an LXC container (for flexibility) and will see how that goes. BillK
Author

Fixed - I manually created the virtual directory via "uv venv" as "/opt/homeassistant/.venv" which satisfied homeassistant on restart.. I must have made a mistake earlier on when trying this as it didnt work then.

Something I do miss with this repo is a "how to" as there is nothing I can find about the user needing to manually do this step that I can find ... or did I miss it?

Fixed - I manually created the virtual directory via "uv venv" as "/opt/homeassistant/.venv" which satisfied homeassistant on restart.. I must have made a mistake earlier on when trying this as it didnt work then. Something I do miss with this repo is a "how to" as there is nothing I can find about the user needing to manually do this step that I can find ... or did I miss it?
BillK closed this issue 2024-12-17 08:13:57 +01:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#4120
No description provided.