I got this error having linter-pep8 installed.
Error: spawn pycodestyle ENOENT
at exports._errnoException (util.js:1026:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
The error is caused by package being renamed from linter-pep8 to linter-pycodestyle v2.0.0
Solution:
sudo pip uninstall pep8
sudo pip uninstall pycodestyle
sudo pip install pycodestyle
apm uninstall linter-pep8
apm install linter-pycodestyle
which pycodestyle
in terminal. It should return path to pycodestyle (eg. /usr/local/bin/pycodestyle
). You might set this path in Executable Path setting of atoms' linter-pycodestyle package -but it should work by defaultIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With