Instale o frasco de soquete
pip install flask-socketio
Blue Bug
pip install flask-socketio
$ uwsgi --http :5000 --gevent 1000 --http-websockets --master --wsgi-file app.py --callable app