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@python.org http://mail.python.org/mailman/listinfo/tutor


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to