Open Freed-Wu opened 4 years ago
Not sure how you've installed pylint and I'm not very familiar with Python's virtual environments but specifying the runtime path solved a similar issue for me:
{
...
"python.linting.mypyPath": "~/.asdf/shims/mypy",
...
}
by default, the var of "python.linting.xxxpath" is "xxx". all of them are installed in /usr/bin
which is one part of $PATH
.
@Freed-Wu ~/.asdf/shims
is part of my $PATH
but I still had to specify for some reason. Not sure why coc-python couldn't find it.
Sounds like you can fix your issue by specifying the full path but ultimately coc-python should be able to find it, ie, bug or improvement.
@Freed-Wu
~/.asdf/shims
is part of my$PATH
but I still had to specify for some reason. Not sure why coc-python couldn't find it.
in my humble opinion, i still think it is a bug. coc-python should find it if ~/.asdf/shims
is a part of your $PATH
.
Same experience here. Linter works fine, but each time you open a file in vim it still prompt Linter is not installed
.
I use anaconda and it too always says that pylint is not installed even conda list
says that I have pylint
Reproduce Procedures
however,
any linter (not only pylinter, but also pyflake, etc) will also prompt this error.
thanks!