pythonic-emacs / anaconda-mode

Code navigation, documentation lookup and completion for Python.
GNU General Public License v3.0
708 stars 87 forks source link

No completion on OSX 10.13.5 with Emacs 26.1 #308

Closed srustamo closed 6 years ago

srustamo commented 6 years ago

I don't see any errors after installing this package from Melpa and running it on a pythong buffer with the following basic config:

(add-hook 'python-mode-hook 'anaconda-mode)

Followed some of the advice from this thread. But it might be outdated, as I don't see anaconda_mode.py in the elpa dir.

Also tried these::

M-: (anaconda-mode-stop) RET
;; don't touch anything few seconds
M-: (anaconda-mode-bootstrap) RET
;; wait again

The last form evalueates to nil, no errors.

I also see .emacs.d/anaconda-mode/0.1.12 on my system, which is empty.

What am I doing wrong?

srustamo commented 6 years ago

The issue was that after initial melpa download to emacs (without ever running anaconda-mode) and basic hooks setup, I was trying to open a python file with linting errors, which prevented the initial modules download. Fixing the linting errors (seen in *anaconda-mode* buffer) buffer and reopening the file fixed the initial setup.