0

Using Spacemacs 0.300.0 develop on Debian 10.9 (stable).

My python setup in .spacemacs:

(python :variables python-backend 'anaconda)

I also have the following in my user-config:

(setq python-shell-interpreter "python3")

Python2 completions in buffer and REPL (from bash and Spacemacs shell) work flawlessly for standard and non-standard modules whether installed from pip or Debian official repos.

Python 3 completions in buffer work only for standard modules installed from official Debian repos, while all python3 completions work in REPL (from bash and Spacemacs shell) whether from official repos or pip3.

Solution posted at this thread irrelevant since I'm not using jedi.

Is there perhaps an emacs tweak I'm missing?

1
  • Couldn't find a way to make it work without a virtual environment so ended creating one (venv) and installing all dependencies in it. Now all python3 completions work in emacs. Just really frustrating not to have it working for repo packages.
    – zbinkz
    Jul 12, 2021 at 1:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.