#11 Installation of additional modules

Mở
%! (template.HTML=1 năm trước cách đây)đang mở bởi pasman1 · 1 ý kiến

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 đã nhận xét 1 năm trước cách đây
Chủ sở hữu

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
Đăng nhập để tham gia bình luận.
Không có nhãn
Không có Milestone
Không có người được phân công
2 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.