Is there any alternative way to install python 3.9 in Centos 7 instead of using source code (tar.gz/tgz)

Is there any alternative way to install python 3.9 instead of using source code (tar.gz/tgz)

What computer OS are you using?

We are using Centos 7

Okay. Well, you have to be real careful about altering the default Python install (it has one, right?) as you could very well break the distro.

If you need am alternate Python version, then my advice would be to have a look at “virtual environments”, such as:

We are running python scripts. So expecting Python to be installed at OS level and don’t want to create any virtual environment.

Not a Centos user myself; I use Debian.

This may help you.

We are trying to install Python 3.9 not 3.6. Please provide an alternative way

Unless someone else here can help, I’d ask in a Centos Forum, tbh.

Venv does not install a new python binary.

Build from source or stay with python 3.4 or i think you can install 3.6
Centos 8 is no better being at 3.6