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.

[Linter] Error running Flake8

See original GitHub issue

When I open a python file, it comes out an error and the Flake8 does not work.

[Linter] Error running Flake8
See console for more info

When I disabled the “linter” package and open a python file, the error had gone. But the Flake8 still did not work.

I google for a long time and still do not know what the problem is.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Bonjewcommented, Mar 21, 2017

The Shell I am using is Zsh. I just changed my shell to Bash. the commands,such as pip, pip3, which, all did work. I used “$ which flake8” and found the path is “/Library/Frameworks/Python.framework/Versions/3.5/bin/flake8”.

I put the dir into the Settings>Executable Path, and the linter-flake8 works.

0reactions
Gowtham-Sridharcommented, Apr 4, 2019

Try this: firstly, uninstall the ‘linter-flake8’ package in atom editor ( Edit > Preference > Packages > linter-flake8 > uninstall )

then, open your terminal and type sudo pip3 install flake8

You can then install this package from with Atom or by typing: apm install linter-flake8

then, restart your atom editor, “BOOM” … the linter works perfectly. hope this helps you out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Linter] Error running Flake8 · Issue #403
I tried removing the Linter and Flake8 packages and installing them from the console but nothing. Also when I look for $ which...
Read more >
How to Fix linter-Flake8 in atom for Python Configuration
Install Linter-flake8 From Atom and then restart your IDE. Check if it's actually being installed via your package manager by executing: which ...
Read more >
Error running Flake8 : r/Atom
Hello all, I am trying to install Flake8, it installedd all the dependencies, which included Flake and Flake-ui etc. from the dos command ......
Read more >
Python Flake8 Lint - Packages
Select “Package Control: Install Package”, wait while Package Control fetches the latest package list, then select Python Flake8 Lint when the list appears....
Read more >
Linting Python in Visual Studio Code
Linting highlights syntactical and stylistic problems in your Python source code, which often helps you identify and correct subtle programming errors or ...
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