[Tutor] python3.0 and tkinter on ubuntu 8.10
Emad Nawfal (عماد نوفل)
emadnawfal at gmail.com
Tue Jan 13 21:39:18 CET 2009
On Tue, Jan 13, 2009 at 3:30 PM, Robert Berman <bermanrl at cfl.rr.com> wrote:
> Emad,
>
> A number of people in the Ubuntu community have attempted to work with
> Python3.0 under Ubuntu 8.10 and almost all have found it to be a frustrating
> and painful experience with some having disastrous consequences. I was
> looking for the latest discussion thread on this issue in the Ubuntu forums,
> but the forums are currently down.
>
> You might want to use Google to track this under Python 3.0 + Ubuntu 8.10.
>
> The overall consensus of opinion is to wait until Python 3.0 became the
> default under Ubuntu before using it.
> YMMV.
>
> Robert Berman
>
> Emad Nawfal (عماد نوفل) wrote:
>
> Hi Tutors,I have downloaded Python3.0 and started playing with it. I like
> it because of the utf-8 default encoding, but I'm having trouble importing
> tkinter. I get the following:
> >>> import turtle
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/local/lib/python3.0/turtle.py", line 107, in <module>
> import tkinter as TK
> File "/usr/local/lib/python3.0/tkinter/__init__.py", line 39, in <module>
> import _tkinter # If this fails your Python may not be configured for
> Tk
> ImportError: No module named _tkinter
> >>> import tkinter
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/local/lib/python3.0/tkinter/__init__.py", line 39, in <module>
> import _tkinter # If this fails your Python may not be configured for
> Tk
> ImportError: No module named _tkinter
> >>>
>
> Any idea how this can be solved on Ubuntu 8.10. I don't have this problem
> with the default Python installation (2.5.2)
> Thank you
>
>
> --
> لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد
> الغزالي
> "No victim has ever been more repressed and alienated than the truth"
>
> Emad Soliman Nawfal
> Indiana University, Bloomington
>
> --------------------------------------------------------
>
> ------------------------------
>
> _______________________________________________
> Tutor maillist - Tutor at python.orghttp://mail.python.org/mailman/listinfo/tutor
>
>
Thanks Robert for the advice about Ubuntu. I did a lot of Googling before I
posted my question, but could not find an answer. I do basic things with
Python that involve using lots of Arabic text, and this is why python3.0 was
supposed to make my life easier, but I'm learning GUI building now, and it
has given me the first frustration.
--
لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد
الغزالي
"No victim has ever been more repressed and alienated than the truth"
Emad Soliman Nawfal
Indiana University, Bloomington
http://emnawfal.googlepages.com
--------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090113/8efb4887/attachment-0001.htm>
More information about the Tutor
mailing list