I am using coc.nvim in neovim together with Pylint.
If I try to import my own module e.g. src.reverse_linked_list or an installed module like selenium, CoC displays the error message
[pylint E0401] [E] Unable to import 'xxxxx' (import-error)
double checked that init.py is in my directories
Running the code does not lead to any errors
Does anyone know how to fix this?
The python path need to be the same when running pylint inside neovim vs when running the code. The import using src.reverse_linked_list is suspicious in this regard, src is not generally used in the import.
PyLint not recognizing modules but code runs fine