I am using 3.6 Python version in anaconda spyder on my mac. But I want to change it to Python 2.7.
Can any one tell me how to do that?
Open the “gear” menu in Spyder's section under Home in Navigator. Go to Install specific version and select the version of Spyder you want to use.
The requirements to run Spyder are: Python 2.7 or >=3.3. PyQt5 >=5.5.
Yes, you should be able to switch between python versions. As a standard, it is recommended to use the python3 command or python3. 7 to select a specific version. The py.exe launcher will automatically select the most recent version of Python you've installed.
You can open the preferences (multiple options):
Tools
-> Preferences
And depending on the Spyder version you can change the interpreter in the Python interpreter
section (Spyder 3.x):
or in the advanced Console
section (Spyder 2.x):
First, you have to run below codes in Anaconda prompt
,
conda create -n py27 python=2.7 #for version 2.7 activate py27 conda create -n py36 python=3.6 #for version 3.6 activate py36
Then, you have to open Anaconda navigator
and, The button might say "install" instead of Launch. After the installation, which takes a few moments, It will be ready to launch.
Thank you, @cloudscomputes and @Francisco Camargo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With