I'm writing a program in python, which requires the use of the Counter
function, which is not supported by python 2.6.5. So I have been trying to find a way to update my python interpreter to the next version, but I haven't found anything for ubuntu 10.04. Could anyone tell me how I can update python 2.6.5 to python 2.7?
Asked
Active
Viewed 7,697 times
1

martineau
- 119,623
- 25
- 170
- 301

Rontogiannis Aristofanis
- 8,883
- 8
- 41
- 58
-
3*Or* you could use [this backport of `Counter`](http://code.activestate.com/recipes/576611-counter-class/). – Martijn Pieters Oct 28 '12 at 16:05
-
1Have a look here: http://askubuntu.com/questions/101591/how-do-i-install-python-2-7-2-on-10-04 – LSerni Oct 28 '12 at 16:08
-
possible duplicate of [Python 2.7 on Ubuntu](http://stackoverflow.com/questions/5233536/python-2-7-on-ubuntu) – interjay Oct 28 '12 at 16:30
1 Answers
2
The procedure given here worked fine for me, and download the tarball from http://www.python.org/download/.

Community
- 1
- 1

Ashwini Chaudhary
- 244,495
- 58
- 464
- 504
-
I think the [deadsnakes PPA](https://launchpad.net/~fkrull/+archive/deadsnakes) is probably a better option, especially if this question has to be asked at all. – Eryk Sun Oct 28 '12 at 16:13