flake8 not found
See original GitHub issueflake8 is installed via my package manager (pacman) and is in my path
me@there ~/ % which flake8
/usr/bin/flake8
But linter-flake8 tells me
Failed to spawn command /usr/bin/flake8. Make sure /usr/bin/flake8 is installed and on your PATH
I already set the executable Directory in ~/.atom/config.cson
. Atom tells me
/usr/share/atom/resources/app/src/buffered-process.js:104 Uncaught BufferedProcessError: Failed to spawn command `/usr/bin/flake8`. Make sure `/usr/bin/flake8` is installed and on your PATH
Issue Analytics
- State:
- Created 9 years ago
- Comments:37 (11 by maintainers)
Top Results From Across the Web
zsh: command not found: flake8 but flake8 is installed
The flake8 script isn't in your path. First figure out where it's installed: pip show -f flake8. You should see the install location, ......
Read more >flake8: command not found after installing it with pip on arch ...
You can find out what your path is by running echo $PATH . The message indicates where it installed flake8, and that the...
Read more >flake8 - command-not-found.com
Tool to check the style and quality of Python code. More information: <https://flake8.pycqa.org/>. Lint a file or directory recursively: flake8 path/to ...
Read more >How do I call flake8 to work on my code? (Example) - Treehouse
I'm working on badpep8.py and can't seem to invoke flake8 as ... treehouse:~/workspace$ flake8 badpep8.py -bash: flake8: command not found ...
Read more >flake8: command not found
flake8 : command not found · On Debian possible default full paths are: · Random error cloud:.
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 had this problem, except I couldn’t find flake8 in my
/usr/bin
When you install packages from pip that also install command line tools, you must use sudo -H. Uninstall flake8, and then install it again:sudo -H pip install flake8
. Usepip3
for python3.@max-orhai ok 😃, I think we are close to it. How looks like your Atom init script? To open it, select from menu
Atom->Open Your Init Script
Does it looks like this?
So @max-orhai @ScreenDriver @sadovnychyi please post yor init file, or just tell if adding ‘/usr/local/bin’ to nodejs paths did the trick.
EDIT: Im just sure this is it, I just found people that encounter same bug with different linters. It looks like Atom does not have access to $PATH variables - more info: https://github.com/AtomLinter/Linter/issues/150
EDIT2: And here to the core… https://github.com/atom/atom-shell/issues/550