Tag Archives: Python2 Flask startup error

[Solved] Python2 Flask startup error: [Errno 10053]

First of all, this is not an exception of the Flask library. This error often appears in Python2.

The problem is: the problem with the SocketServer module in Python2.

Solution:

  1. Do not use the built-in Server, start the service through gunicoon or uwsgi
  2. runAdd in the method, threadedparameters:
app.run(threaded=True)
  1. Upgrade to Python3