Getting error message “Linter pylint is not installed”

﹥>﹥吖頭↗ 提交于 2021-01-29 19:59:29

问题


I am trying to code some python using vscode on Windows, but for some reason when I try to run it I get the error message "Linter pylint is not installed". It also says "The terminal process command 'C:\cygwin\bin\bash.exe' failed to launch.

I saw this thread Linter pylint is not installed , and have tried to do the top answers to no avail. I don't know where to type some of the instructions (I have tried both the command prompt and cygwin terminal on Windows). This just gives me nonsense about "no pylint in _____", which is long address.

Literally just using this code:

print("hello world")

回答1:


You can turn off Pylint w/ "python.linting.enabled": false or explicitly Pylint with "python.linting.pylintEnabled": false.

But if you want Pylint then the issue is cygwin isn't working as your shell in order to run Pylint. As well, the Python extension does not support cygwin and so there's no specific way to suggest help on how to fix it.



来源:https://stackoverflow.com/questions/57643747/getting-error-message-linter-pylint-is-not-installed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!