import requests session = requests.Session() session.trust_env = False