SSL errors

If you get errors like :

unable to get local issuer certificate error

or

Failed to connect to github.com port 443 after 21380 ms: Timed out

while using git OR

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError

while using pip , It could mean you are behind a corporate proxy. Behind tools such as ZScaler.

A quick fix to this (although not the safest way) is to disable ssl

for Git

git -c http.sslVerify=false clone https://github.com/user/repo.git

and for Pip

pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org yourpackagename