You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I expected to happen:
I expected elpy to set up an RPC virtual environment and eventually display the config interface.
What actually happened:
Elpy displayed Cannot find executable 'python', please set 'elpy-rpc-python-command' to an existing executable. and did not display the config interface.
My configuration
OS
Ubuntu Server 20.04.3.
Result of (elpy-config)
Cannot find executable 'python', please set 'elpy-rpc-python-command' to an existing executable.
Elpy configuration in my init.el
(use-package elpy
:ensure t
:init
(elpy-enable))
Workaround
Installing the python-is-python3 package works around this issue.
The text was updated successfully, but these errors were encountered:
Summary
On a fresh install of Ubuntu Server 20.04, python is not symlinked to python3, so elpy does not work out of the box.
Systems that have been upgraded from previous Ubuntu releases to 20.04 do not seem to have this problem.
Steps to reproduce
M-x elpy-config RET
.What I expected to happen:
I expected elpy to set up an RPC virtual environment and eventually display the config interface.
What actually happened:
Elpy displayed
Cannot find executable 'python', please set 'elpy-rpc-python-command' to an existing executable.
and did not display the config interface.My configuration
OS
Ubuntu Server 20.04.3.
Result of
(elpy-config)
Cannot find executable 'python', please set 'elpy-rpc-python-command' to an existing executable.
Elpy configuration in my init.el
Workaround
Installing the
python-is-python3
package works around this issue.The text was updated successfully, but these errors were encountered: