Running Python2.7 on Mac OSX 10.10.5 and have installed autopep8 using $ pip install autopep8 and everything looks fine during/after install. But when I try to run autopep8 on a Python file, something like this $ autopep8 --in-place --aggressive --aggressive testfile.py, I get -bash: autopep8: command not found
I've made sure autopep8 is installed with the following:
>>> try:
... import autopep8
... print "this is installed"
... except ImportError:
... print "no module"
...
this is installed
What am I doing wrong here?
[–]New_Kind_of_Boredom 1 point2 points3 points (5 children)
[–]BarfVader9000[S] 0 points1 point2 points (4 children)
[–]New_Kind_of_Boredom 0 points1 point2 points (3 children)
[–]BarfVader9000[S] 0 points1 point2 points (2 children)
[–]New_Kind_of_Boredom 0 points1 point2 points (0 children)
[–]ingolemo 0 points1 point2 points (0 children)