How to set the pylint executable in the atom editor#
If you have installed
linter-pylint and you are getting the following error:
Failed to spawn command pylint. Make sure pylint is installed and on your PATH
The chances are that the package does not know where pylint is.
Fixing the Path for Pylint#
The first thing to do is make sure the package is installed globally (Not in a
pip install pylint
Then find out the path of pylint:
which pylint > /usr/local/bin/pylint
Now to set the executable:
Append the following settings:
"linter-pylint": executable: "/usr/local/bin/pylint"
/usr/local/bin/pylint with the results of
Executable set it as the path the