<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=windows-1256"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#3333ff">
<font size="+1">Emad,<br>
<br>
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. <br>
<br>
You might want to use Google to track this under Python 3.0 + Ubuntu
8.10.<br>
<br>
The overall consensus of opinion is to wait until Python 3.0 became the
default under Ubuntu before using it. <br>
YMMV.<br>
<br>
Robert Berman<br>
</font><br>
Emad Nawfal (عماد نوفل) wrote:
<blockquote
 cite="mid:652641e90901131214l3a1f8a2bkfc91217f15c0da0d@mail.gmail.com"
 type="cite">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:<br>
&gt;&gt;&gt; import turtle<br>
Traceback (most recent call last):<br>
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;<br>
  File "/usr/local/lib/python3.0/turtle.py", line 107, in &lt;module&gt;<br>
    import tkinter as TK<br>
  File "/usr/local/lib/python3.0/tkinter/__init__.py", line 39, in
&lt;module&gt;<br>
    import _tkinter # If this fails your Python may not be configured
for Tk<br>
ImportError: No module named _tkinter<br>
&gt;&gt;&gt; import tkinter<br>
Traceback (most recent call last):<br>
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;<br>
  File "/usr/local/lib/python3.0/tkinter/__init__.py", line 39, in
&lt;module&gt;<br>
    import _tkinter # If this fails your Python may not be configured
for Tk<br>
ImportError: No module named _tkinter<br>
&gt;&gt;&gt; <br>
  <br>
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)<br>
Thank you<br>
  <br clear="all">
  <br>
-- <br>
لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه
كالحقيقة.....محمد الغزالي<br>
"No victim has ever been more repressed and alienated than the truth"<br>
  <br>
Emad Soliman Nawfal<br>
Indiana University, Bloomington<br>
  <br>
--------------------------------------------------------<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Tutor maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Tutor@python.org">Tutor@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor</a>
  </pre>
</blockquote>
</body>
</html>