Skip to main content

Thread: Upgrading Python on Ubuntu 11.04


hello, i'm new ubuntu (11.04) , i'm wanting upgrade python. according "python" command in terminal, i'm running python 2.7. however, i'm looking @ installing idle , see there python 3.2. i'm assuming then, have older version of python given have 2.7.

went synaptic , see python 2.7, don't see python 3.2. however, see python 3.2 documentation , other packages seemingly related python 3.x.

python 2.7 more stable or better , if not, how upgrade version of python? did search topic , found older thread on (2007, think) i'm not sure how relevant information still is.

appreciated.

whatever do, not uninstall python2.7. older versions of ubuntu totally stopped working including internet without installed version of python. either chroot or total reinstall fix.

if have installed python 3.x, can run if want. specify python3.x on command load. when edit python files change 3.1 when before python.

#!/usr/bin/python3.1
# -*- coding: utf-8 -*-

of small scripts have downloaded sites work either 2.7 or 3.x except print has print().


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Upgrading Python on Ubuntu 11.04


Ubuntu

Comments