- This's the solution for fixing the console problem which we're facing when we decide to install Linter-flake8 for Python3. It has being tested in Linux and Debian.
- Linter-flake8 default installation meant to be for
python 2.7
beside if you read the description of the package, you will also find that their implementation was forpython 2.7
not forpython3
. - Default installation package simulates directly with
python 2.7
not forpython3
. so, you have to install the package using the commands ofpython3
. - Even after inserting your Executable PATH will be only mere of spectacular. Because you need to install flake8 in terms of
python3
, notpython2
.
- Install Linter-flake8 From Atom and then restart your IDE.
- Check if it's actually being installed via your package manager by executing:
which flake8
in your terminal. - Reopen your IDE and click
Ctrl+Shift+P
to open the Search in Atom. - Search for Application: Open the Init Script.
- Then, Write in the init.coffee this code:
process.env.PATH = ['usr/local/bin/', process.env.PATH].join(':')
- Go To your *Executable PATH and paste this path
/usr/local/bin/
. - Then, open a new Terminal and execute these commands:
- First, enter your root Mode by
sudo su
. - Second, go to
cd /usr/local/bin/
. - Third, execute these commands:
python3 -m pip install flake8
.ls
apm install linter-flake8
ls
python3 -m pip install flake8-docstring
python3 -m pip install hacking
- First, enter your root Mode by
If you didn't install pip before, then you can install it by sudo apt-get install pip
and then, you can move on to continue the installation of flake8.
- close your Atom and open it.
- If you want to disable The Max Line Lenght you can do that by
Default: 0
. - Smile!