question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: spawn flake8 ENOENT

See original GitHub issue
Error: spawn flake8 ENOENT
    at exports._errnoException (util.js:890:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
    at onErrorNT (internal/child_process.js:348:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Just updated to 1.9.6 on atom and now get these pop ups consistently.
Checked flake8 runs, updated, etc…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
Tomatoespcommented, Nov 8, 2016

pip3 install flake8

1reaction
Arcanemaguscommented, Oct 12, 2016

@veehz you need to ensure that flake8 is available in your $PATH. You can force it to work by putting the output of which flake8 (*NIX) or where.exe flake8 (Windows) in the “Executable Path” setting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Atom can't spawn Flake8 on Windows 10 - Stack Overflow
Looking at the source for linter-flake8, it appears you can set the executablePath . This would require configuring it each time you start-up...
Read more >
Changelog — Python 3.11.1 documentation
Paths are no longer encoded to UTF-8/strict to avoid encoding errors if it contains surrogate characters (bytes paths are decoded with the surrogateescape...
Read more >
Error installing packages in Atom? : r/linuxquestions - Reddit
I'm getting the following error, any ideas? Error: spawn flake8 ENOENT at exports._errnoException (util.js:890:11) at Process.ChildProcess.
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/28 19 ...
Bug :128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils ... Bug:669860 - "dev-python/pytest-flake8-0.9.1 fails test FLAKE8-check" ...
Read more >
neoclide/coc.nvim - Public Room Timeline - Matrix Static
... solved it by disabling diagnostics and enabling flake8 which I already had ... [coc.nvim] Error on update coc-tsserver: Error: spawn npm ENOENT...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found