How to integrate python3-flake8 with Atom in Ubuntu 16.04
<p>I installed python3-flake8 on Ubuntu 16.04 with the command <em>sudo apt-get install python3-flake8</em>
Then proceeded to install the flake8 linter package on Atom.
However on restart it shows the following error
<em>Error: spawn flake8 ENOENT</em>.</p>

<p>I do not know if atom is able to detect flake8 on my system or if it is some other kind of problem.</p>

<p>Error message:</p>

<pre><code>Error: spawn flake8 ENOENT
    at exports._errnoException (util.js:890:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
    at onErrorNT (internal/child_process.js:348:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
</code></pre>

<p>From Ubuntu 16.04, the <code>flake8</code> binary can be found in the <code>flake8</code> package rather than <code>python3-flake8</code> (<a href="http://packages.ubuntu.com/xenial/flake8" rel="nofollow">Xenial/16.04</a> and <a href="http://packages.ubuntu.com/yakkety/flake8" rel="nofollow">Yakkety/16.10</a>). Installing this will allow you to use the <code>flake8</code> command in the terminal, and will also allow Atom to access it and lint your code.</p>

<p>You can install <code>flake8</code> correctly with:</p>

<pre><code>sudo apt-get install flake8
</code></pre>

python ubuntu atom