Fresh install of Linux Mint 18.3 Cinnamon.
Also a fresh install of Gnu Emacs 24.5.1
Also a fresh install of Anaconda3:
~ $ conda -version
usage: conda [-h] [-V] command ...
conda: error: the following arguments are required: command
~ $ conda -V
conda 4.4.10
~ $ python -V
Python 3.6.4 :: Anaconda, Inc.
~ $ anaconda -V
anaconda Command line client (version 1.6.9
Emacs has python-mode, python, and elpy installed, python code executed via ctrl+Enter
is run with the executable in /usr/bin/python
which is hopelessly out of date...2.7.2
Executing python
on the command line
~ $ which python
/home/user/anaconda3/bin/python
~ $ python
Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
Also, M-x elpy-config
yields an error: neither easy install nor pip can be found
very strange, given pip
was installed with anaconda3
I don't know how to find what command elpy is using to run python or why elpy-config won't work, I assume that somewhere, it is hardcoded to the /usr/bin
directory to look for all of the above executables, but no place I look indicates this.