Error running flake8
See original GitHub issueSince a while (~1 week) I get permanent problems with running flake8 inside of Atom:
linter-registry.js? [sm]:137 [Linter] Error running Flake8 Error: /bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'
/bin/sh: ml: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `ml'
at ChildProcess.<anonymous> (/home/gtema/.atom/packages/linter-flake8/node_modules/sb-exec/lib/index.js:56)
at emitTwo (events.js:106)
at ChildProcess.emit (events.js:194)
at maybeClose (internal/child_process.js:899)
at Socket.<anonymous> (internal/child_process.js:342)
at emitOne (events.js:96)
at Socket.emit (events.js:191)
at Pipe._handle.close [as _onclose] (net.js:510)
I have tried reinstalling linter, linter-flake8 couple of times with no luck, so I need to keep it disabled.
Flake executable is present and working by itself correct.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
[Linter] Error running Flake8 · Issue #403 - GitHub
[Linter] Error running Flake8 Error: Failed to spawn command `flake8`. Make sure `flake8` is installed and on your PATH at ...
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 - Reddit
Error running Flake8. Hello all,. I am trying to install Flake8, it installedd all the dependencies, which included Flake and Flake-ui etc.
Read more >Problems with Atom, Linter, linter-flake8 and bash - Super User
When I try to edit python code, I receive the following error: [Linter] Error running Flake8 Error: /bin/sh: module: line 1: syntax error: ......
Read more >Flake8: Your Tool For Style Guide Enforcement — flake8 6.0.0 ...
To install Flake8, open an interactive shell and run: ... If you only want to see the instances of a specific warning or...
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
It’s because python 3.7 causes an error for old syntax. So you can wait till it will be fixed or install python 3.6.6
I was having the same issue after recently updating my python packages. Running: python -m pip install flake8 fixed the issue for me