This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
pip fails to install requirements because it tries to use the .cache
owned by login user instead of the one owned by _snips-skills
#186
Labels
sub: sam
Related to SAM
sub: skill-server
Related to the skill-server
type: bug
Not working as expected
What's the issue?
Pip is run with simply
sudo -u _snips-skill
and the-H
argument that would set the correct home is omitted and thus pip tries to use the login user's (pi
) pip cache.Use Cases Impacted
sam install assistant
How to reproduce
sam install assistant
Expected behavior
Requirements should be installed into the venv
Version and Environment
0.63.3 / Lubuntu 19.04
Logs
Additional information
Workaround
Add
-H
flag to /usr/local/lib/node_modules/snips-sam/lib/session/ssh.js where it runs the setup.shThe text was updated successfully, but these errors were encountered: