Failed to spawn flake8
See original GitHub issueToday I started receiving this error when I edit a Python file:
Failed to spawn command flake8. Make sure flake8 is installed and on your PATH
Close All
Error: spawn flake8 ENOENT
Error: spawn flake8 ENOENT
at exports._errnoException (util.js:837:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:441:9)
at process._tickCallback (node.js:355:17)
Failed to spawn command flake8. Make sure flake8 is installed and on your PATH
Error: spawn flake8 ENOENT
Error: spawn flake8 ENOENT
at exports._errnoException (util.js:837:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:441:9)
at process._tickCallback (node.js:355:17)
That pops up the console, which shows:
Changing the path of the executable to /usr/bin/flake8
shows the same error.
> which flake8
/usr/bin/flake8
> atom --version
1.3.1
I had to disable linter-flake8 for now. 😞
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Failed to spawn command `flake8`. · Issue #537 - GitHub
I have, using a command prompt on windows 10 after adding python34 to my %PATH%, imported pip. After importing pip I have installed...
Read more >Atom linter-flake8 failed to spawn (not in PATH) - Stack Overflow
I try to input the executable path to the flake8 setting but still doesn't work. I use windows 10 and i have python...
Read more >Atom linter-flake8 failed to spawn (not in PATH) - - Bountysource
[Linter] Error running Flake8 Error: Failed to spawn command flake8 . Make sure flake8 is installed and on your PATH. i'm sure flake8...
Read more >Atom Linter-Flake8 Failed To Spawn (Not In Path) - ADocLib
intentions. I get this error: Flake8 crashed! linterflake8:: Flake8 threw an error related to: Failed to spawn command flake8. Make sure flake8 is...
Read more >Error / Violation Codes — flake8 6.0.0 documentation
Most plugins will list their error codes in their documentation or README. Flake8 installs pycodestyle , pyflakes , and mccabe by default and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same error with a python file that does exist,
which flake
gives/usr/local/bin/flake8
. I have tried restarting Atom.I got the similar error when I installed flake8 package on python virtual env which is is not set in PATH(Windows), adding that directory to the PATH solved the issue.