flask_socketio
When running the newest version 2.4.0 on Alma9 with python 3.9, I could not start the viewer due to flask_socketio missing - should be added to the requirement-pip.txt. After pip-installing I get this error
Traceback (most recent call last):
File "/home/captain/localdb-tools/viewer/app.py", line 213, in <module>
socketio.run(
File "/usr/local/lib/python3.9/site-packages/flask_socketio/__init__.py", line 650, in run
raise RuntimeError('The Werkzeug web server is not '
RuntimeError: The Werkzeug web server is not designed to run in production. Pass allow_unsafe_werkzeug=True to the run() method to disable this error.
Do we just use allow_unsafe_werkzeug=True? Seems unsafe...?
Edited by Lingxin Meng