Page 1 of 1

Python 3.2.3

Posted: Thu Sep 27, 2012 12:53 am
by webmaster
Greetings,

First time Linux user. Installed Maya. Using the OS as a desktop user account type. I have set my system to only install level 1 & level 2 software updates.

I have currently enrolled to learn Python programming language. We are advised to use the current production version Python 3.2.3. I opened the Terminal and under /usr/bin, Python 2.7.3 is listed as the default. I did a search in Software Manager using Python 3.2.3 and there were 0 results returned. Instead, I did a search using Python 3.2 and I get few results. I see idle-python 3.2 (idle for python (v3.2) using tkinter) and also python3.2 (interactive high-level object-oriented language version 3.2).

My question is, if I install Python3.2 does it also install idle-python 3.2 or do I need to select both the packages to be installed? Also, is version 3.2 same as version 3.2.3?

Thank you

Re: Python 3.2.3

Posted: Thu Sep 27, 2012 8:23 am
by nunol
Mint 13 has Python 2 by default but Python 3 is installable. To install Python 3 run:

Code: Select all

sudo apt-get install python3
To run Python 3 run

Code: Select all

python3
Current Python 3 version in Mint 13 is 3.2.3.

Re: Python 3.2.3

Posted: Thu Sep 27, 2012 10:12 am
by dritzominous
And don't forget, in your shebang you'll have to use:

Code: Select all

#/usr/bin/env python3
instead of

Code: Select all

#/usr/bin/env python

Re: Python 3.2.3

Posted: Fri Dec 21, 2012 4:21 pm
by leopoldbirkholm
nunol wrote:Mint 13 has Python 2 by default but Python 3 is installable. To install Python 3 run:

Code: Select all

sudo apt-get install python3
To run Python 3 run

Code: Select all

python3
Current Python 3 version in Mint 13 is 3.2.3.
Thank you. That solved it for me. :D

Yeah, the output

Code: Select all

leopold@leopold-Latitude-E4300 ~ $ python3
Python 3.2.3 (default, Oct 19 2012, 19:53:57) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Re: Python 3.2.3

Posted: Sat Jun 15, 2013 6:09 pm
by trope
I installed Python3 with the above directions. How can I open the IDLE window with Python 3? It still opens with Python 2.7.3. I am using Mint 14.

Re: Python 3.2.3

Posted: Tue Jun 18, 2013 9:46 pm
by nunol
You have to install idle3 and run idle3.

Re: Python 3.2.3

Posted: Wed Aug 21, 2013 12:10 am
by binarypulsar
There is no idle3 package or software to install. I checked the software and package managers. I am running Linux mint 14 and Python3 (3.2.3) is installed but not idle. Can I get if from anywhere else?

Re: Python 3.2.3

Posted: Wed Sep 04, 2013 12:49 am
by dritzominous
Try:

Code: Select all

sudo apt-get install idle-python3.1