Python Proxy Settings It worked: import os os.environ["HTTPS_PROXY"] = "http://user_id:pass@proxy:port"