Search code examples
pythonwindowsupgrade

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


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