Upgrading to python 2.7.5 on Ubuntu 12.04
Ubuntu 12.04 comes with python v 2.7.3 by default. I want to upgrade it to
v 2.7.5. I tried the instructions given in this question,
sudo apt-get install build-essential
sudo apt-get install libreadline-dev libncursesw5-dev libssl-dev
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
cd ~/Downloads/
wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz
tar -xvf Python-2.7.5.tgz
cd Python-2.7.5
./configure
make
sudo make altinstall
The last command fails with the error:
...
Compiling /usr/local/lib/python2.7/xmlrpclib.py ...
Compiling /usr/local/lib/python2.7/zipfile.py ...
make: *** [libinstall] Error 1
How can I make this upgrade?
No comments:
Post a Comment