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 installing linter-flake 8

See original GitHub issue

I tried to install linter-flake 8 using https://atom.io/packages/linter-flake8

and when I opened Atom, I got an error that says

Failed to spawn command /usr/local/bin/flake8. Make sure /usr/local/bin/flake8 is installed and on your PATH

and

Error: spawn /usr/local/bin/flake8 ENOENT

I have when I installed linter-flake 8 I typed these to my terminal ( I have OS x El Capitan 10.11.2)

$pip install flake8
$apm install linter-flake8
$pip install flake8-docstrings
$pip install hacking
$pip install flake8

and the error still shows up? Is there anything I can do here?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jbkalmbachcommented, Mar 24, 2016

Sorry, should have read more carefully above. I took your advice from above and manually added the above location to my linter-flake8 settings and it worked. Thanks!

1reaction
Arcanemaguscommented, Mar 20, 2016

Something is wrong with your Python installation then, since wherever pip is installing things isn’t in your PATH.

You could hunt that down and manually put the path in your linter-flake8 settings (which it looks like you might have tried to do already?), but it’s probably a better idea to figure out why it isn’t in your PATH.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix linter-Flake8 in atom for Python Configuration
First, enter your root Mode by sudo su . · Second, go to cd /usr/local/bin/ . · Third, execute these commands: python3 -m...
Read more >
linter-flake8 Error : r/Atom - Reddit
I'm a Python programmer and i just installed Atom (coming from VSCode). I program on Windows (sigh.) I have installed flake8 properly (at...
Read more >
Run flake8 on the command line. Python Linter. - YouTube
Don't be distracted by errors and warnings in your IDE/code editor. Run flake8 on the command line at the moment you are ready...
Read more >
Problems with Atom, Linter, linter-flake8 and bash - Super User
I just installed Atom editor and some packages, like linter and linter-flake8. When I try to edit python code, I receive the following...
Read more >
Python Flake8 Lint - Package Control
Once you install Package Control, restart Sublime Text and bring up the Command Palette ( Command + Shift + P on OS X,...
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