Python Forum

Full Version: Python install issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Not sure if this is the right place but I am having an issue.
I am trying to install Python 2.7.5 on a RHEL 8.10 vm.
I follow the basic instruction for install.
./configure
make
make install

I can only get passed ./configure.
When I run make, here is the error I get and I don't know how to fix it.

/usr/bin/mkdir -p Include
./Parser/asdl_c.py -h Include ./Parser/Python.asdl
/usr/bin/env: 'python': No such file or directory
make: *** [Makefile: 632: Include/Python-ast.h] Error 127

Please, I hope there is someone out there that can help me out with this.
Did you untar/unzip the downloaded file? Take a look at https://tecadmin.net/install-python-2-7-on-centos-rhel/ And take notice that you use altinstall.
Please note: Any version of python prior to version 3 has been unsupported since January 1, 2020.
Current version is 3.12.7