How do I uninstall Python 2.7 and install the latest Python 3.3.x? Tried using "upgrade" but it didn't solve my problem.
You can install the 3.x version you want by running:
sudo apt-get install python-3.2
Which will install version 3.2 of python side-by-side with version 2.7.
I was doing this previously and I recall that you then need to specifically specify the version of python you want to run such as
According to http://packages.debian.org/search?keywords=python3.3, there isn't a version of python 3.3 available for wheezy
Here's something from the Raspberry Pi forum that shows how to download and compile Python 3.3.2 directly on the Pi. This doesn't say how long it takes to compile.
testing in my
deb http://mirrordirector.raspbian.org/raspbian/ testing main contrib non-free rpi
This gives you a good balance between stability and up-to-dateness (I have never had problems with
testing on any of my debian boxes, RPi or others).
As example, this would provide you, as of Oct 2015, Python 3.4 (while the version in stable is 3.2).