[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)
Closed this issue · 3 comments
Can't see to build and install
Processing dependencies for pycloudfn==0.1.209
Searching for google-auth==1.3.0
Reading https://pypi.python.org/simple/google-auth/
Download error on https://pypi.python.org/simple/google-auth/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) -- Some packages may not be found!
Couldn't retrieve index page for 'google-auth'
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) -- Some packages may not be found!
No local packages or working download links found for google-auth==1.3.0
error: Could not find suitable distribution for Requirement.parse('google-auth==1.3.0')
seems pip is having an issue Could not fetch URL... problem confirming the ssl certificate
got it fixed locally with the comment by @lucalenardi in the above link
issue occurs when try to build install cloud function python
All dependencies have to be installed manually before build
install
working fine now.
Something needs to be changed inside while installing the packages. I have no idea how
Are you sure this is not an issue on your end? what is the setup and environment? are you using virtualenv?
@MartinSahlen It's a issue with the ssl certificate while fetching the packages from pypi link. You can have a look at the link above.
It was a new virtualenv, I created using virtualwrapper.
It had no extra packages.
I was able to fix it locally using
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
suggested by @lucalenardi
Yes I tried to build install cloud function python inside the virtualenv