I used several IDEs for Python. I like Spyder, but I have have been a pretty obsessive Emacs user for a LONG time. I install ELPY. It works very well for my needs. However, I cannot get code folding to work. Whenever I click on anything and then choose EPLY->Code folding->Hide/show at point (through the menu system), I get the following error:
Debugger entered--Lisp error: (void-variable hs-minor-mode) elpy-folding-toggle-at-point() funcall-interactively(elpy-folding-toggle-at-point) call-interactively(elpy-folding-toggle-at-point nil nil) command-execute(elpy-folding-toggle-at-point)
Does anybody know how to get this working? It does not matter much where I click on a function or pretty much anything.