0

I install the socketio module with: pip install flask-socketio. After the installation I cannot run: flask run to enable the application. Is there any way to fix this because I want to use socketio module for my final project ?

P.S: The error that pops up when I run flask run is:

Error: no such option: --with-threads
1

Search your flask script for --with-threads

According to flask quickstart when running flask run your app will execute the FLASK_APP script so it appears you'll need to check that—whatever your app's script is—for --with-threads.

From what I know and can tell it seems like whatever script start at flask run is trying to execute a program with the argument --with-threads but said program doesn't recognize that as valid and is failing.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .