Issue
I was trying to install python3.10 on CentOS7 by following This Guide
However, even after following the steps, I still can't use python3.10. After investigating /usr/local/bin, I found out that the python3 file (which comes preinstalled) have a different file type compared to the installed python3.10 (can be seen from the different color below)
The Image (I can't add image yet)
Is there a way to fix this or am I missing some steps?
Edit: if it helps, it seems that the color of python3.10 is the same as a python3 module
Solution
Alright, so it turns out that I needed to create a symlink on /usr/bin. So to fix this I run the following command on the terminal
ln -s /usr/local/bin/python3.10 /usr/bin
Afterwards I can use the command python3.10
Answered By - Elben Answer Checked By - David Goodson (WPSolving Volunteer)