Vote Up 0 Vote Down

Is it safe to upgrade from python2.7 to python3.x on ubuntu 14.04 ?

Could anyone tell me that is it really unsafe to upgrade from python2.7 to python3.x on ubuntu 14.04.. ? I have found that it may make a heck of pc that way .. I really want to shift using only python3.x on my machine instead of using both python2.7 and python3.x . I had initially istalled python2.7 on my pc. ..
flag

Answers


Vote Up 1 Vote Down
You can install Python3.x alongside Python2.x. I believe the package name is python3 and you would start it with python3 command. Library packages names start with python3-xxxx. You can safely have libraries for python2 and python3 on the same PC under Ubuntu or derivative Linux distros. ..
flag | link |
Vote Up 0 Vote Down
You can install python 3 alongside python 2.7 but retain the latter as the default. Fire up python 3 by running python3. ..
flag | link |
Vote Up 0 Vote Down
You shouldn't upgrade since there is a huge difference between syntax of python2.7 and 3.x .So they are not compatible and most of system files are in python 2.x which are not converted to python3.x Hence it is not recommended .Then it is up to you.

The main thing is "If you removed python2.7 chances are higher you may delete some important system dependent components ". ..
flag | link |
Vote Up 0 Vote Down
Dont remove existing python 2.7, install python 3.3 to a diff location and use virtual env. ..
flag | link |

Your Answer

Login before answering

Login with facebook