Could not fetch URL; There was a problem confirming the ssl certificate; after connection broken by 'SSLError [SSL: CERTIFICATE_VERIFY_FAILED]
오류발생시
Home - pip documentation v21.1.2
Next Quickstart
pip.pypa.io
1. trusted-host
pip install django --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org
2. pip.ini
Windows10(pip.ini) C:\users\<사용자명>\pip\pip.ini
Linux(pip.conf) $HOME/.pip/pip.conf
[global]
proxy = http://PROXYSERVERIP:PORT cert = C:\\CERTIFICATION.cer
trusted-host = pypi.python.org
pypi.org
files.pythonhosted.org
ERROR: Could not install packages due to an OSError: [WinError 5] 액세스가 거부되었습니: 'C:\\Program Files\\Python39\\~cripts\\pip.exe'
Consider using the `--user` option or check the permissions.
1. 가상 env를 권한설정(권장함)
Create a python virtual environment, command : python3 -m venv env //<dir>
Activate the virtual environment, command : source ./env/bin/activate
Install <xxx> command : pip install google-assistant-sdk
2. 사용자폴더에 설치
python -m pip install --user google-assistant-sdk[samples]
3. 시스템폴더 설치(권장않함)
sudo python -m pip install google-assistant-sdk[samples]