What is a possible cause for [SSL: UNKNOWN_PROTOCOL] in Python Requests library?

前端 未结 1 897
你的背包
你的背包 2020-12-19 09:54

The following example GET:

r = requests.get(url, auth=(self.key, \'\'), verify=False)

Fails with the following traceback:

F         


        
1条回答
  •  有刺的猬
    2020-12-19 10:05

    The solution to this problem turned out to be related to the requests library.

    Adding the following to my python library resolved the issue:

    pip install requests[security]

    (Note this is not an ideal fix for TLS future security)

    0 讨论(0)
提交回复
热议问题