Added and documented pip support for installing packages.#14
Added and documented pip support for installing packages.#14Paul-dH wants to merge 1 commit intotribut:masterfrom
Conversation
…eded for HACS to function.
|
Thanks for your contribution! |
|
No problem :) I'm currently busy setting up HA in docker on a Ubuntu server behind a reverse proxy. I kept getting permission errors so I landed at the community post where this repo was mentioned. After I changed the composefile and added the run script I saw that HA booted up and the only thing that failed were the python packages. That's why I added the My composefile is like this: |
|
I've tried to use your config, but cannot reproduce the problem. Have you by chance tried again without your changes since? |
|
I have the same issues where Home Assistant tries to install pip packages and fails for permission denied. These errors stem from 2 HACS custom integrations: frigate, AIO Schluter DITRA-HEAT-E WIFI It appears that Home Assistant is trying to install these packages to the docker container's /usr/local/lib rather than in the venv. After adding this pull request and adding the PIP env to my docker compose, everything now works. |
|
It's a workaround rather than a fix though - you have to manually list the packages at that are required by the HACS components you've added, rather than having everything just work as it should. |
I run HA in a docker environment and wanted to use HACS. Therefore I added pip support to the script and tested it.
Thought I'd share the addition to the script :)