Skip to content

Instantly share code, notes, and snippets.

@harryadel
Created October 19, 2019 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harryadel/b942c31f8f2dd3fce15af31c6d3e5a26 to your computer and use it in GitHub Desktop.
Save harryadel/b942c31f8f2dd3fce15af31c6d3e5a26 to your computer and use it in GitHub Desktop.
https://github.com/googlesamples/assistant-sdk-python/issues/236#issuecomment-383039470
You are trying to install the package to a system folder which you don't have permissions to write to.
You have three options(use only one of them):
1-setup a virtual env to install the package (recommended):
python3 -m venv env
source ./env/bin/activate
python -m pip install google-assistant-sdk[samples]
2-Install the package to the user folder:
python -m pip install --user google-assistant-sdk[samples]
3-use sudo to install to the system folder (not recommended)
sudo python -m pip install google-assistant-sdk[samples]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment