본문 바로가기
Work life in America

[Python Error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000) - How to fix this error

by 0pen3r 2024. 12. 12.
반응형

 

When using the pip install command, you might often encounter the following error:

 



This error is caused by SSL issues, and while there are several solutions, the quickest way to install a package temporarily is to use the following command:

python -m pip install --upgrade pip --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org

 

By adding the --trusted-host options like this:

--trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org

 

You can bypass the SSL verification and proceed with the installation.


Happy hacking!
Thanks for reading!

728x90
반응형