Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update Python version on Spyder?

I'm using Spyder IDE using Python 3.7.5. I want to switch to Python 3.8, what should I do?

like image 301
Luigi2405 Avatar asked Jan 26 '20 13:01

Luigi2405


1 Answers

If you're using Anaconda, you need to create a conda environment for it like this:

conda create -n py38 python=3.8 spyder-kernels

Then you need to open Spyder and go to the menu

Tools > Preferences > Python interpreter

select the option Use the following Python interpreter and select the Python executable of your py38 environment.

You can find more information about this procedure here.

like image 149
Carlos Cordoba Avatar answered Nov 15 '22 09:11

Carlos Cordoba