I have Python 2.7.9
and Python 3.4.3
installed in a Ubuntu 15.04 machine. Now I want to upgrade Python 3.4.3
to Python 3.6.1
without affecting the packages which are depended on Python 3.x.x
. I have found that Python versions are released as separate package. So, my questions are:
- Can I actually upgrade
Python 3.4.3
toPython 3.6.1
? - If the answer is no, can I uninstall
Python 3.4.3
and installPython 3.6.1
without affecting the installed packages? - If the second answer is no, then what will happen if I install
Python 3.6.1
usingsudo apt-get install python 3.6.1
? Can I usePython 3.6.1
without affecting other versions usingPython3.6
command in terminal and in virtual environments?
Update
I have installed Python 3.6 from -> https://stackoverflow.com/a/44758621/3129414