Relative Content

Tag Archive for python-3.xubuntugoogle-cloud-platformpython-3.10

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. But I get update-alternatives: –install needs instead. What is the correct declaration of sudo update-alternatives in this case? These are the locations of Python 3.7 and 3.10 :