Quantcast
Viewing all articles
Browse latest Browse all 5970

How to update python verison in Ubuntu?

I want to update Python 3.7.12 to 3.10 in google cloud. I successfuly downloaded and installed python 3.10. Using sudo update-alternatives I want to activate Python 3.10. What is the correct declaration of sudo update-alternatives in this case? These are the locations of Python 3.7 and 3.10 :

(base) jupyter@kamil-a-tokyo:~$ which python3/opt/conda/bin/python3(base) jupyter@kamil-a-tokyo:~$ python3 --versionPython 3.7.12(base) jupyter@kamil-a-tokyo:~$ python3.10 --versionPython 3.10.0(base) jupyter@kamil-a-tokyo:~$ which python3.10/usr/local/bin/python3.10

Viewing all articles
Browse latest Browse all 5970

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>