Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

[Linter] Error running Flake8 - Error: 3.8.3 #739

Open
b8tzer opened this issue Jul 16, 2020 · 2 comments
Open

[Linter] Error running Flake8 - Error: 3.8.3 #739

b8tzer opened this issue Jul 16, 2020 · 2 comments

Comments

@b8tzer
Copy link

b8tzer commented Jul 16, 2020

Hi,

I've recently installed Atom and the Linter and linter-flake8 packages (through the Atom package manager) on Linux Mint 19.3.
Atom and Linter work fine, however Linter throws a flake8 error message (Error 3.8.3) whenever I open Atom or write code. Error report from the Atom console is below:

/home/user/.atom/packages/linter/lib/linter-registry.js:154 [Linter] Error running Flake8 Error: 3.8.3 (mccabe: 0.6.1, pycodestyle: 2.6.0, pyflakes: 2.2.0) CPython 2.7.17 on
Linux
at ChildProcess. (/home/user/.atom/packages/linter-flake8/node_modules/sb-exec/lib/index.js:56)
at ChildProcess.emit (events.js:194)
at maybeClose (internal/child_process.js:998)
at Socket. (internal/child_process.js:403)
at Socket.emit (events.js:194)
at Pipe. (net.js:593)

Atom and linter work without error if the linter-flake8 package is disabled.
I've tested flake8 from the terminal and it works fine, just not in atom...
I tried re-installing flake8 via the terminal and pip but it did not resolve the issue.
Python 2.7 and 3.6 are installed on the OS

I'm very new to programming and it would be great if anyone has advice on resolving this issue.
Please let me know if you need more info.

Thanks.

@fredklier
Copy link

I have the same error did you install flake8 before the linter-flake8?

@AI-Ahmed
Copy link

@b8tzer , and @fredklier your problem will be fixed after following my steps in this link; Fix-Linter-flak8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants