Error message
URLError: <urlopen error [WinError 10061] 由于目标计算机积极拒绝,无法连接。>
Analysis
found that sns.load_dataset
there was a problem here. This problem often occurs when downloading files such as network data.
Solution
Solution 1: In the browser proxy settings, uncheck the proxy server in the LAN settings.
Solution 2: In the browser proxy settings, turn on automatic detection, setting -> proxy settings -> pop up Internet properties -> LAN settings -> automatic Check the settings -> Re-run
solution 3: My problem is that I turned off the Http proxy when I was surfing the Internet, and just turned on the global proxy .
A solution with very detailed references