Skip to content

anaconda-mode does not complete modules from pip3 #415

@zbinkz

Description

@zbinkz

Using Spacemacs 0.300.0 develop on Debian stable 10.9

I get completions for modules from the official Python3 installation (math, numpy, matplotlib, etc.) in the source code buffer, but not for packages from pip3 and other Debian python3 repositories that are not part of the official python3 distribution (python3-dolfin, python3-meshio, or even their pip3 versions). Python2 packages complete just fine whether installed from Debian repositories or pip. Python3 completions work for everything in the REPL and shells as well.

My python layer setup in Spacemacs is the following:

(python :variables python-backend 'anaconda)

I also have the following in my user-config:

(setq python-shell-interpreter "python3")

Had an error finding importmagic and epc installed with pip3 only but it went away when I installed them with pip as well. Currently I have importmagic-0.1.7 and epc-0.0.5 installed with pip and pip3. same for jedi-0.17.2 and parso-0.7.1.

Any idea why Python3 packages do not complete?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions