Atom editor : autopep8 is not working and no error message at all

andio picture andio · Jun 2, 2018 · Viewed 8.7k times · Source

I install autopop8 in Atom. I got NO error message. Console in developer tools is just clean no error or whatsoever. it's just silent and autopep8 is not working (turn on 'format on save' already). At the bottom of the editor , there's small autopep8 button showed up with red cross. I don't know what it means, click it but nothing happen. No clue at all. Just nothing to inspect . Does anyone can help to track what happen ?

enter image description here

enter image description here

Answer

Vaibhav Gupta picture Vaibhav Gupta · Sep 10, 2020

Step1:- First of all, you need to make sure that autopep8 module is installed in your PC, You can check this by using python -m autopep8 --version . If you can see the version then you can go to Step 3.

Step2:- You need to install autopep8 using the command line
pip install --user autopep8

Step3:- In the command line type where.exe autopep8 and copy that path to the Autopep8 Path which is present in the setting of Autopep8 package.
Snippet of Setting