Requests.get not finishing, doesn't raise any error Requests.get not finishing, doesn't raise any error tkinter tkinter

Requests.get not finishing, doesn't raise any error


It seems that requests on MacOS is a bit buggy. Try to disable the proxies by setting trust_env to False:

session = requests.Session()session.trust_env = False  # No proxy settings from the OSr = session.get(url)


Check this:

from sys import platformif platform == "darwin":    os.environ['no_proxy'] = '*'

In my case this solution works for MacOSx.

Refer: requests: how to disable / bypass proxy