anaconda-mode icon indicating copy to clipboard operation
anaconda-mode copied to clipboard

Error choosing Python interpreter

Open matthieucan opened this issue 6 years ago • 1 comments

Hi, I've set up python3 as my python interpreter:

(setq python-shell-interpreter "python3")

However it seems anaconda-mode is executed using python2. I get in the anaconda buffer:

Traceback (most recent call last):
  File "<string>", line 59, in <module>
  File "<string>", line 49, in install_deps
ImportError: No module named setuptools.command.easy_install

This import works with python3, but not with python2, hence I suspect my choice of interpreter is not honored.

What can I do?

For info, I'm using spacemacs on Linux.

matthieucan avatar Aug 14 '19 13:08 matthieucan

first, check the value of pythonic-interpreter and make sure that is pointing to python3 as well. If that is true, check that (executable-find "python3") is pointing to the same location as which python3 in your shell.

CeleritasCelery avatar Sep 17 '19 03:09 CeleritasCelery