Remove all *.pyc files in a directory find . -name \*.pyc -delete Turn off InsecureRequestWarning for unverified requests import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)