0👍
✅
In my case, I was running monkey patching in my manage.py
file.
from gevent import monkey
monkey.patch_all()
Removing it solved it for me.
0👍
It looks like it might be environment configuration issue – you have virtualenv
in django project and Visual Studio
may be using its own.
Try re-creating virtual python environment in project directory and alse re-configuring project settings in Visual Studio to make sure it uses this python virtual environment present in project directory.
(P.S. Have tried running just the provided task – runs ok in all cases)
Source:stackexchange.com