Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error choosing Python interpreter #363

Open
matthieucan opened this issue Aug 14, 2019 · 1 comment
Open

Error choosing Python interpreter #363

matthieucan opened this issue Aug 14, 2019 · 1 comment

Comments

@matthieucan
Copy link

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.

@CeleritasCelery
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants