Automatic python code formatting in sublime

Viewed 40312

I am trying to find some package that would auto format python code when using sublime.

There is PythonTidy, but when I use PackageController it says install completed but the package is not installed (does not appear in preferences).

I did try following the instructions in: https://github.com/witsch/SublimePythonTidy

and while i "pip installed" the package in python, sublime would not load, throwing:

terminate called after throwing an instance of 'boost::python::error_already_set'
/usr/bin/subl: line 3: 12415 Aborted                 
/usr/lib/sublime-text-2/sublime_text --class=sublime-text-2 "$@"

How would I go about installing this without PackageController, or alternatively, can anyone recommend another package?

3 Answers
Related