I use coc-pyright
as python code completer in debian. When I work on a django file, I get errors like this error in neovim env. But django runs codes without any problem. I have installed django with apt
and not with pip
and also I am not in a venv.
I found it. I should set
pyright.disableDiagnostics
totrue
inCocConfig
.