<br><br><div class="gmail_quote">On Tue, Jan 13, 2009 at 3:30 PM, Robert Berman <span dir="ltr">&lt;<a href="mailto:bermanrl@cfl.rr.com">bermanrl@cfl.rr.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  
  

<div 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><div><div></div><div class="Wj3C7c"><br>
Emad Nawfal (عماد نوفل) wrote:
</div></div><blockquote type="cite"><div><div></div><div class="Wj3C7c">Hi Tutors,I have downloaded Python3.0 and started playing
with it. I like it because of the utf-8 default encoding, but I&#39;m
having trouble importing tkinter. I get the following:<br>
&gt;&gt;&gt; import turtle<br>
Traceback (most recent call last):<br>
&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
&nbsp; File &quot;/usr/local/lib/python3.0/turtle.py&quot;, line 107, in &lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; import tkinter as TK<br>
&nbsp; File &quot;/usr/local/lib/python3.0/tkinter/__init__.py&quot;, line 39, in
&lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; 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>
&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
&nbsp; File &quot;/usr/local/lib/python3.0/tkinter/__init__.py&quot;, line 39, in
&lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; 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&#39;t have this
problem with the default Python installation (2.5.2)<br>
Thank you<br>
  <br clear="all">
  <br>
-- <br>
لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه
كالحقيقة.....محمد الغزالي<br>
&quot;No victim has ever been more repressed and alienated than the truth&quot;<br>
  <br>
Emad Soliman Nawfal<br>
Indiana University, Bloomington<br>
  <br>
--------------------------------------------------------<br>
  </div></div><pre><hr size="4" width="90%">
_______________________________________________
Tutor maillist  -  <a href="mailto:Tutor@python.org" target="_blank">Tutor@python.org</a>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a>
  </pre>
</blockquote>
</div>

</blockquote></div><br>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&#39;m learning GUI building now, and it has given me the first frustration.<br clear="all">
<br>-- <br>لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد الغزالي<br>&quot;No victim has ever been more repressed and alienated than the truth&quot;<br><br>Emad Soliman Nawfal<br>Indiana University, Bloomington<br>
<a href="http://emnawfal.googlepages.com">http://emnawfal.googlepages.com</a><br>--------------------------------------------------------<br>