Joseph Attard
Joseph Attard

Reputation: 51

Pip Install SSL Issue

I am getting the following SSL issue when running pip install:

python -m pip install zeep
Collecting zeep
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 'SSLError(SSLError("bad handshake: 
Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify 
failed')],)",),)': /simple/zeep/

Upvotes: 0

Views: 3106

Answers (2)

Piyush Kapoor
Piyush Kapoor

Reputation: 1

If using windows then make sure the below three paths are added in Windows environment variable :

  1. ....\Anaconda\Library\bin
  2. ....\Anaconda\Scripts
  3. ....\Anaconda

If not using Anaconda then in place of Anaconda the path where python is installed.

Upvotes: 0

Joseph Attard
Joseph Attard

Reputation: 51

I was able to resolve the issue by using the following:

python -m pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --index-url=https://pypi.org/simple/ zeep

Upvotes: 2

Related Questions