jacob
asked Dec 17 2019
Answer
Navigate to the location where python bin is available ,/usr/local/bin or /usr/bin/
and Check the Version of python where your version is with 3.*
[root@linuxhelp1 bin]# python -V
Python 3.6.8
Now Unlink the python so that python 3 will be removed as the default version
[root@linuxhelp1 ~]# unlink python
Create a soft link with the python 2 Version
[root@linuxhelp1 bin]# ln -s python2 python
Now check the default Version of Python in your machine as follows:
[root@linuxhelp1 bin]# python -V
Python 2.7.5
Hence the result accomplished
linuxhelp
asked Dec 17 2019
edited Dec 18 2019
Related tutorials in Downgrade the Python version from Python 3.6.8 to python 2.7.5 default Version
Related forums in Downgrade the Python version from Python 3.6.8 to python 2.7.5 default Version
Facing - pip error while installing Python: Ignoring ensurepip failure: pip 8.1.1 requires SSL/TLS
Sep 29 2018
Downgrade the Python version from Python 3.6.8 to python 2.7.5 default Version
Hello,
When i was insrtalling the NagiosQL,i just have got an error when i researched about that error,have come to know that the python verion shpould be downgraded?how can be done that ?
Thanks