Error with https://code.activestate.com/recipes/langs/python/

exception = HTTPSConnectionPool(host='code.activestate.com', port=443): Max retries exceeded with url: /recipes/langs/python/ (Caused by NameResolutionError("HTTPSConnection(host='code.activestate.com', port=443): Failed to resolve 'code.activestate.com' ([Errno -2] Name or service not known)"))