SublimeLinter: SublimeLinter problem

I trying to use flake8 package but I am getting following problems: In the output of sublime linter, it is showing No lint results

SublimeLinter: WARNING: cannot locate 'flake8'. Fill in the 'python' or 'executable' setting.
Package Control: Skipping automatic upgrade, last run at 2018-07-09 18:17:05, next run at 2018-07-09 19:17:05 or after
SublimeLinter: WARNING: cannot locate 'flake8'. Fill in the 'python' or 'executable' setting.
Unable to open /C/Users/Lenovo/AppData/Roaming/Sublime Text 3/Packages/SublimeLinter/SublimeLinter.sublime-settings

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 22 (11 by maintainers)

Most upvoted comments

I found the best solution for me is to add this to SublimeLinter Settings

{
     "executable": ["python", "-m", "flake8"]
}

If you open the settings, you should have a side-by-side view. On the left you see the ‘default’ configuration with a lot of comments.

Something like this should do the trick.

	"linters": {
		"flake8": {
			"executable": "..."
		}
	},

LOL 😃 Gotta love computers