Solve pychar [errno 11001] getaddrinfo failed error prompt!

I see many problems on the Internet, and the solution to this problem is only half solution. Maybe the causes of the problems are different. Today I’ll talk about my experience


The reason is that the host file parsed by your local DNS has been annotated

Open the local houst file: win10 system C::?Windows?System32?Drivers?Etc

I can’t remember the other systems



The following two domain names were customized when I created the project. They may have been commented out by the antivirus software, and the # number below will be removed

Then you start the project again, and it will start normally

Similar Posts: