Replies: 5 comments 1 reply
-
You need to be more specific.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Meanwhile, when I run exact the same code on Ubuntu 22.04, my *.py can be run without showing anything compared with the above output on Windows 11.
Note that, in my "index.html", I just have one simple command to show the header "Testing" as shown in the picture.
Please let me know if you need more info for your reference! |
Beta Was this translation helpful? Give feedback.
-
If you run |
Beta Was this translation helpful? Give feedback.
-
Hi, I run pip freeze on both Windows and Linux with my environment "myenv1" and they have the same However, when I run the code on my another environment "myenv2" (flask 3.0.2, flask-socketio 5.3.6), and it works normally. Thus, I think there might be some problem with flask-related packages installed on "myenv1" on Linux. Do you have any idea what packages related to flask, flask-socketio I should pay attention? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help! However, I cannot figure out the solution. Thus, I just recreated a new environment to use. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Actually, I can normally run the example code from your page "https://pypi.org/project/Flask-SocketIO/" on Windows 11. After running, it can show me the local host link like "http://127.0.0.1:5000"
However, when I run the same code on Ubuntu 22.04, it shows nothing.
The version of flask and flask-socketio is the same on both Windows and Ubuntu as follows
flask 3.0.2
flask-socketio 5.3.6
Do you know what my problem is and how to fix that?
Beta Was this translation helpful? Give feedback.
All reactions