How can I upgrade the Python version if I only have the .tgz or the .tar.xz file?

Issue

I see that Python recently upgraded their 3.7 and 3.8 version of the language, but they only offer the .tgz and the .tar.xz files, not the executable installer. How can I upgrade to these versions? I tried what was said here without any success. But the question was asked 5 years ago so I am thinking that things have changed since then.

Solution

You can use the below method:

conda create --name project-env python=3.x

You can also look at an alternative method to install python versions Install python version

Answered By – Ankit Jain

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published