I have different versions of python (2.7 and 3) installed on my Linux Mint. Emacs by default (at least in my case) selects the old version.
How can I choose a newer one?
Attempting to change the following variable (as suggested here: https : //stackoverflow.com/a/165478/... or here: https://stackoverflow.com/a/164778/ ) does not work, since it is missing ?! [I do not know why...]
(setq python-python-command "python3")
with this it is the same (found here: http://www.bnikolic.co.uk/blog/python-running-emacs.html ):
(setq py-python-command "/usr/local/bin/python3")
Any suggestions? Thanks in advance.
, python.el:
python-shell-interpreter python3
python-shell-interpreter
python3
Source: https://habr.com/ru/post/1536970/More articles:How to override default messages for Flask-Security? - pythonA program that tells the user whether one number is uniformly divisible by another - cSystemVerilog foreach syntax for cycling through a lower dimensionality of a multidimensional array - arraysPolygon Area - javaHow to measure Java unit test code for each developer? - javaWhere can I find Postgresql training files - postgresqlAndroid: I need a circular camera view. How to reach it? - javaUncaught TypeError: Невозможно установить свойство 'innerHTML' из null - javascriptin scala what is A in the sum [B>: A] (implicit number: numeric [B]): B - scalaToOptimizedResult and HTTP Status Code - servicestackAll Articles