Flask + Socket.io Set up Step 1 py -3 -m venv venv Step 2 pip3 install -U pip virtualenv Step 3 virtualenv --system-site-packages -p python ./venv Step 4 pip install Flask Install flask-socketio pip install flask-socketio Auto reload flask --app app.py --debug run Run using jwt not error python app.py