Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

update jupyter notebook to python 3.7

I have python installed versions 3.73 but for jupyter notebook I have 3.6.8. How to upgrade python to version 3.7+ on jupyter notebook?

I tried:

 conda update jupyter

 conda upgrade notebook

when I type in the terminal in virtual env python -V I get 3.73 but when I check it in jupyter:

 from platform import python_version
 print(python_version())

I get 3.6.8.

like image 272
tbone Avatar asked Nov 17 '22 05:11

tbone


1 Answers

Try the below code :

conda install ipython jupyter

I ran this command in Anaconda Prompt and it worked. Don't forget to restart the jupyter notebook after the installation.

like image 76
Gladwin Rojer Avatar answered Dec 28 '22 23:12

Gladwin Rojer