linter-flake8 icon indicating copy to clipboard operation
linter-flake8 copied to clipboard

ImportError: No module named 'flake8'

Open Praveshkp opened this issue 6 years ago • 1 comments

I recently installed linter-flake8 and also installed all the dependencies but I keep getting this error. [Linter] Error running Flake8 See Console for more info.

On opening the Console, it display`s the following : Uncaught (in promise) TypeError: Cannot read property 'ahead' of undefined at Present.getAheadCount (/snap/atom/238/usr/share/atom/resources/app/static/:14) 4/home/rist/.atom/packages/linter/lib/linter-registry.js:154 [Linter] Error running Flake8 Error: Traceback (most recent call last): File "/usr/local/bin/flake8", line 6, in from flake8.main.cli import main ImportError: No module named 'flake8' at ChildProcess. (/home/rist/.atom/packages/linter-flake8/node_modules/sb-exec/lib/index.js:56) at ChildProcess.emit (events.js:182) at maybeClose (internal/child_process.js:961) at Socket.stream.socket.on (internal/child_process.js:380) at Socket.emit (events.js:182) at Pipe._handle.close [as _onclose] (net.js:596)

Please Help.

Praveshkp avatar Aug 30 '19 07:08 Praveshkp

@Praveshkp your problem will be fixed after following my steps in this link; Fix-Linter-flak8.

AI-Ahmed avatar Oct 15 '20 16:10 AI-Ahmed