markbaas / atom-python-autopep8

MIT License
9 stars 6 forks source link

Autopep does not work. #18

Open robinCantelli opened 6 years ago

robinCantelli commented 6 years ago

Hey:) Yesterday I installed Atom and with it by recommendation autopep. But it does not work. I have done pip install autopep8. When I save with way to much empty lines nothing happens except the autopip referenced red x in the left downside corner.

Thx for your help in advance! autop

mdavidowitz commented 6 years ago

if you installed using pip install autopep8 --user, this error could occur. Try uninstalling and reinstalling using sudo pip install autopep8

Jarek0x commented 6 years ago

Guys - i have the same issue. I try to install both from interface and github

it shows autopep8 is installed but it is doing nothing when choosing the option to format (ctrl+alt+s). I have python 3.7

Only format on save works.

pip install -e git+https://github.com/hhatto/autopep8#egg=autopep8
Obtaining autopep8 from git+https://github.com/hhatto/autopep8#egg=autopep8
  Cloning https://github.com/hhatto/autopep8 to c:\users\XXX\src\autopep8
Requirement already satisfied: pycodestyle>=2.3 in c:\users\XXX\appdata\loca
l\programs\python\python37-32\lib\site-packages (from autopep8) (2.4.0)
Installing collected packages: autopep8
  Found existing installation: autopep8 1.4
    Uninstalling autopep8-1.4:
      Successfully uninstalled autopep8-1.4
  Running setup.py develop for autopep8
Successfully installed autopep8

obraz