I am using emacs 25.2.2 on ubuntu 18.04. I would like to use python3 in emacs; however it comes with python 2.7 and I can't find how to reconfigure. The answer 1 which says to use Mx customize-variable RET python-shell-interpreter RET doesn't work for me,
python-shell-interpreter isn't found.
Any thoughts? Thanks - Len
Could you check if you've installed and enabled Elpy ? As suggested on their README, you can achieve this by including the following somewhere in your emacs configuration
(use-package elpy
:ensure t
:init
(elpy-enable))
This should allow you to set the python-shell-interpreter variable. Hope this helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.