문제

I need the SSLError utility function but ...

from requests.exceptions import SSLError

and I get ImportError: cannot import name SSLError :(

PS: I have installed python-requests in Ubuntu using the python-requests package

도움이 되었습니까?

해결책

Your requests library version is too old. The SSLError exception was not added to requests.exceptions until version 0.8.8, in revision 9a1a413.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top