I want to run python code in Microsoft Visual Studio Code but it gives an error:
"Linter pylint is not installed"
I installed:
How can I install pylint?
Check the path pylint has been installed to, by typing which pylint
on your terminal.
You will get something like: /usr/local/bin/pylint
Copy it.
Go to your vscode settings on the preferences
tab and find the line that goes
"python.linting.pylintPath": "pylint"
Edit the line to be
"python.linting.pylintPath": "/usr/local/bin/pylint"
,
replacing the value "pylint"
with the path you got from typing which pylint
Save your changes and reload vscode.