The server runs the python code and reports an error: intall python Extension

When I installed it, I got an error:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fef4efd1bb0>: Failed to establish a new connection: [Errno 101] Network is unreachable')':

But the main problem is when running the program.

I tried reconnecting to the server again, to no avail.

Unexpectedly, it was solved like this.

In the test run file, right-click - run python file in terminal and no error will be reported.

 So I still don't understand what's going on. How come it works all of a sudden.

It should be that the python file used in the original operation is lost, and then use this command to directly call another python backup.

Guess you like

Origin blog.csdn.net/a1456123a/article/details/132433008
Recommended