[Tutor] Python 3.2 Install Not Responding To Python Command!!

Walter Prins wprins at gmail.com
Sat Apr 9 20:32:45 CEST 2011


On 9 April 2011 17:44, Nevins Duret <duretn at bellsouth.net> wrote:

> Compiling with Ubuntu
>
> # get required packages for buildsudo apt-get install build-essential libncursesw5-dev libreadline5-dev libssl-dev libgdbm-dev libc6-dev libsqlite3-dev tk-dev
>  # get sourcewget http://www.python.org/ftp/python/3.2/Python-3.2.tgz && tar -xvf Python-3.2.tgz
>  # make install
> ./configuremakesudo make altinstall
>  # make 3.2 the default python system wide (number 1 at the end stays there)sudo update-alternatives --install /usr/bin/python python opt/py32/bin 1
>  # ensure various versions of python play nice with each othersudo update-alternatives --config python
>
>
> Again I really appreciate your help, getting over this hurdle would help me be confident in what goes on under the hood.
> At this point, it seems that I will need instructions on how to remove python3.2 in order to get a reattempt at installing it
> properly.
>
>
>
OK... It's usually preferable if at all possible to install things using the
system's package manager -- is there any particular reason that you must use
Python 3.2 and can't install Python 3.1.2, which is available in the
repositories? It may be installed by simply doing:

sudo apt-get install python3-all

As for fixing/undoing any problems in your system -- I'm reluctant to try
and fix that via this list and without more information.  I'd therefore
suggest asking on the Ubuntu community forums programming sub-forum.
http://ubuntuforums.org/forumdisplay.php?f=310

Walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110409/a4bf6473/attachment-0001.html>


More information about the Tutor mailing list