[最佳答案] Update (2017-07-28): If you're using a modern version of these libraries, they may no longer be vendored. If that's the case, then you'll only need to do: import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) If you're still using a version of Requests which vendors urllib3 inside of it (like the original question), then you can use the original answer below: Original answer: The reason doing urllib3.disable_warnings() didn't work for you is because it looks like yo