19 Oct 2011 21:14
Re: Configuring IDLE for Python 3.2.2 on Ubuntu
MusicKev <kevin <at> kevinturnercareer.com>
2011-10-19 19:14:12 GMT
2011-10-19 19:14:12 GMT
Thank you, I have it working now! I do need to include the path to IDLE for it to work which suprises me since it is located in /usr/bin Kevin Weeble wrote: > > How did you install Python and IDLE? On my 32-bit Ubuntu 11.04 VM, idle3 > works for me, although it looks like I only have Python 3.2, possibly not > 3.2.2. Some details you might compare to your own setup: > > /usr/bin/idle3 is an executable script provided by the "idle3" package. > > /usr/bin/idle3 specifies /usr/bin/python3 as its interpreter. > > /usr/bin/python3 is a symlink to python3.2. > > The "idle3" package requires the "python3" and "python3-tk" packages. If > you > installed it with "sudo apt-get install idle3", they will have been > installed automatically. > > The Python 3 packages I have are "python3", "python3-minimal", > "python3-tk", > "python3.2", "python3.2-minimal", and "idle3". > > As far as I can tell, IDLE uses sys.executable to determine the Python to > launch for its shell, and this will always be the Python that IDLE itself > is > running in. > > On Sat, Oct 15, 2011 at 12:23 AM, MusicKev <kevin <at> kevinturnercareer.com> > wrote: >> >> >> >> Ned Deily wrote: >>> >>> In article <32642225.post <at> talk.nabble.com>, >>> MusicKev <kevin <at> kevinturnercareer.com> wrote: >>> >>>> I have Python 2.7 and python 3.2.2 installed on my system. There is a >>>> version >>>> of IDLE installed for each version of Python but they all open Python >>>> 2.7. >>>> How can I configure IDLE to open the Python 3.2.2 version? >>> >>> Try typing 'idle3' instead of 'idle'. >>> >>> -- >>> Ned Deily, >>> nad <at> acm.org >>> >>> _______________________________________________ >>> IDLE-dev mailing list >>> IDLE-dev <at> python.org >>> http://mail.python.org/mailman/listinfo/idle-dev >>> >>> >> >> Hi Ned, >> >> Iidle3 from the terminal does not work. I get an error "IDLE can't import >> Tkinter. Your Python may not be configured for Tk." Same error if I >> just >> type idle. >> I can launch Python3 from the terminal. >> I can launch IDLE 2.7.1 from the GUI. I am new to Linux and am a bit lost >> trying to troubleshoot. It seems like an install problem or a > configuration >> problem but I can't figure it out. >> I have Python/IDLE3 working on Mac and Windows but I need it on Linux for > a >> class project. >> >> Thanks. >> -- >> View this message in context: > http://old.nabble.com/Configuring-IDLE-for-Python-3.2.2-on-Ubuntu-tp32642225p32655998.html >> Sent from the Python - idle-dev mailing list archive at Nabble.com. >> >> _______________________________________________ >> IDLE-dev mailing list >> IDLE-dev <at> python.org >> http://mail.python.org/mailman/listinfo/idle-dev >> > > _______________________________________________ > IDLE-dev mailing list > IDLE-dev <at> python.org > http://mail.python.org/mailman/listinfo/idle-dev > > -- -- View this message in context: http://old.nabble.com/Configuring-IDLE-for-Python-3.2.2-on-Ubuntu-tp32642225p32683740.html Sent from the Python - idle-dev mailing list archive at Nabble.com.