ModuleNotFoundError: No module named 'flask_socketio' #1807
-
|
Im using this on a Raspberry Pi Zero with venv. requirements.txt: Flask==2.0.3
Flask-SocketIO==5.1.1 # also tried flask-socketioInstallment: python3 -m pip install -r requirements.txtUsage: The error persists after running Thanks in advance for any hint! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Why aren't you using a virtualenv? This is likely a mismatch between the python executable that you are using to run the application and the one that goes with the Using a virtual environment removes all these side effects. |
Beta Was this translation helpful? Give feedback.
Why aren't you using a virtualenv? This is likely a mismatch between the python executable that you are using to run the application and the one that goes with the
pipthat you are using to install.Using a virtual environment removes all these side effects.