Skip to main content

I have Python version of 3.8.6 by default I want to upgrade my version of python . I tried using this command in the terminal. It is asking password for it.

image Is there any other way to implement this?. Please let me know.

 

Thanks,

 

Ajith Naidu.

Interesting question, even I couldn't think of any plausible way.

Did you try "conda update python" ?


Hi @sathish.kumar.s ,

 

I tried using conda update Python it updating upto 3.8.10

but how I can install specific version of Python in the terminal.


@kandi.naidu 

 

Can you try this?

conda create -n "myenv" python=3.1.3 ipython

 


@kandi.naidu 

 

Can you try this?

conda create -n "myenv" python=3.1.3 ipython

 

It working but, when I tried to create a notebook for my virtual environment and check version of python still it is base version by default .

What steps I should apply to get my new python version in my notebook

 


It working but, when I tried to create a notebook for my virtual environment and check version of python still it is base version by default .

What steps I should apply to get my new python version in my notebook

 

You can try running this command in your notebook to activate the new version.

conda activate "myenv"

 

You can check the current running version using this command

import sys

print(sys.version)


It working but, when I tried to create a notebook for my virtual environment and check version of python still it is base version by default .

What steps I should apply to get my new python version in my notebook

 

Thanks @sathish.kumar.s ,

 

It's working .


Reply