본문 바로가기

Develop

[Python3] [Errno 13] Permission denied How i solve this problem 해결 방법

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]

 

https://github.com/googlesamples/assistant-sdk-python/issues/236

 

[Errno 13] Permission denied How i solve this problem · Issue #236 · googlesamples/assistant-sdk-python

I try to install google assistant on raspberry PI 3 by this code python -m pip install google-assistant-sdk[samples] and then it is show Could not install packages due to an EnvironmentError: [Errn...

github.com