#11 Installation of additional modules

오픈
pasman11 년 전을 오픈 · 1개의 코멘트
pasman1 코멘트됨, 1 년 전

Hi.

How to install additional modules in this snap?

Looks like this homeassistant instance is executed as root, and modules installed with venv (placed in home directory) are not accesible. Better is to execute server as snapd-daemon user.

I try to install tapo integration, which needs plugp100 module. Installing this module as normal user goes ok, but is inaccesible for the server. Installing as root generates warning:

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Strange, this message is generated when runned in venv.

Regards

Hi. How to install additional modules in this snap? Looks like this homeassistant instance is executed as root, and modules installed with venv (placed in home directory) are not accesible. Better is to execute server as `snapd-daemon` user. I try to install tapo integration, which needs plugp100 module. Installing this module as normal user goes ok, but is inaccesible for the server. Installing as root generates warning: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Strange, this message is generated when runned in venv. Regards
Joachim Marthinsen Giæver 코멘트됨, 1 년 전
소유자

Hi,

I will have to look into this over the holidays. Feel free to make a PR if you can.

Joachim

Hi, I will have to look into this over the holidays. Feel free to make a PR if you can. Joachim
로그인하여 이 대화에 참여
레이블 없음
마일스톤 없음
담당자 없음
참여자 2명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.