load_dataset in seaborn is not working for me. getting this error.

TimeoutError                              Traceback (most recent call last)
~\anaconda3\lib\urllib\request.py in do_open(self, http_class, req, **http_conn_args)
   1345             try:
-> 1346                 h.request(req.get_method(), req.selector, req.data, headers,
   1347                           encode_chunked=req.has_header('Transfer-encoding'))

~\anaconda3\lib\http\client.py in request(self, method, url, body, headers, encode_chunked)
   1278         """Send a complete request to the server."""
-> 1279         self._send_request(method, url, body, headers, encode_chunked)
   1280 

~\anaconda3\lib\http\client.py in _send_request(self, method, url, body, headers, encode_chunked)
   1324             body = _encode(body, 'body')
-> 1325         self.endheaders(body, encode_chunked=encode_chunked)
   1326 

~\anaconda3\lib\http\client.py in endheaders(self, message_body, encode_chunked)
   1273             raise CannotSendHeader()
-> 1274         self._send_output(message_body, encode_chunked=encode_chunked)
   1275 

~\anaconda3\lib\http\client.py in _send_output(self, message_body, encode_chunked)
   1033         del self._buffer[:]
-> 1034         self.send(msg)
   1035 

~\anaconda3\lib\http\client.py in send(self, data)
    973             if self.auto_open:
--> 974                 self.connect()
    975             else:

~\anaconda3\lib\http\client.py in connect(self)
   1440 
-> 1441             super().connect()
   1442 

~\anaconda3\lib\http\client.py in connect(self)
    944         """Connect to the host and port specified in __init__."""
--> 945         self.sock = self._create_connection(
    946             (self.host,self.port), self.timeout, self.source_address)

~\anaconda3\lib\socket.py in create_connection(address, timeout, source_address)
    843         try:
--> 844             raise err
    845         finally:

~\anaconda3\lib\socket.py in create_connection(address, timeout, source_address)
    831                 sock.bind(source_address)
--> 832             sock.connect(sa)
    833             # Break explicitly a reference cycle

TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

URLError                                  Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_12220/2927704185.py in <module>
      1 import seaborn as sn
----> 2 iris = sn.load_dataset('iris')

~\anaconda3\lib\site-packages\seaborn\utils.py in load_dataset(name, cache, data_home, **kws)
    594             if name not in get_dataset_names():
    595                 raise ValueError(f"'{name}' is not one of the example datasets.")
--> 596             urlretrieve(url, cache_path)
    597         full_path = cache_path
    598     else:

~\anaconda3\lib\urllib\request.py in urlretrieve(url, filename, reporthook, data)
    237     url_type, path = _splittype(url)
    238 
--> 239     with contextlib.closing(urlopen(url, data)) as fp:
    240         headers = fp.info()
    241 

~\anaconda3\lib\urllib\request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context)
    212     else:
    213         opener = _opener
--> 214     return opener.open(url, data, timeout)
    215 
    216 def install_opener(opener):

~\anaconda3\lib\urllib\request.py in open(self, fullurl, data, timeout)
    515 
    516         sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method())
--> 517         response = self._open(req, data)
    518 
    519         # post-process response

~\anaconda3\lib\urllib\request.py in _open(self, req, data)
    532 
    533         protocol = req.type
--> 534         result = self._call_chain(self.handle_open, protocol, protocol +
    535                                   '_open', req)
    536         if result:

~\anaconda3\lib\urllib\request.py in _call_chain(self, chain, kind, meth_name, *args)
    492         for handler in handlers:
    493             func = getattr(handler, meth_name)
--> 494             result = func(*args)
    495             if result is not None:
    496                 return result

~\anaconda3\lib\urllib\request.py in https_open(self, req)
   1387 
   1388         def https_open(self, req):
-> 1389             return self.do_open(http.client.HTTPSConnection, req,
   1390                 context=self._context, check_hostname=self._check_hostname)
   1391 

~\anaconda3\lib\urllib\request.py in do_open(self, http_class, req, **http_conn_args)
   1347                           encode_chunked=req.has_header('Transfer-encoding'))
   1348             except OSError as err: # timeout error
-> 1349                 raise URLError(err)
   1350             r = h.getresponse()
   1351         except:

URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>


Hi! `seaborn`'s `load_dataset` pulls datasets from [here](https://github.com/mwaskom/seaborn-data) and not from our Hub, so this issue is not related to our library in any way and should be reported in their repo instead.