I am running Ubuntu 18.04.1 with Python 3. 6.7 and Python 2.7.15rc1.
I have pip3 and pip installed.
Virtual Environment was installed with
pip3 install virtualenv
pip install virtualenv
I have tried installing the demo with:
sam install demo
and weather_en with:
sam install assistant -i proj_dAwP5KaQ811v
I always get the error below
Running setup.sh & generating virtual environment for snips-skill-owm
Error setting up virtualenv, one or more actions might not be able to run. Reason :
setup.sh: 14: setup.sh: virtualenv: not found
setup.sh: 18: .: Can’t open venv/bin/activate
I was able to bypass this by doing the following:
chmod 777 on the /skills/<snip-skill-assistant> virtualenv <snip-skill-assistant>/venv source <snip-skill-assistant>venv/bin/activate pip3 install wheel pip3 install -r requirements.txt chown _snips-skills:_snips-skills -R venv chmod 777 -R venv
If I use sudo to setup my python environment I get wicked ownership errors about the .cache/pip directory, even if I chmod 777 -R .cache/pip
Is this normal? I’ve never had a problem like this before.