Debug | <urlopen error [WinError 10061] Cannot connect because the target computer actively refuses. >

Error message
URLError: <urlopen error [WinError 10061] 由于目标计算机积极拒绝,无法连接。>

Analysis
found that sns.load_datasetthere 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

Guess you like

Origin blog.csdn.net/weixin_43360896/article/details/111869033