f



[Python 3.3.0] Getting tkinter to work on Python 3

--047d7bf0d52ef12d7304d836299a
Content-Type: text/plain; charset=ISO-8859-1

Hi.  I'm having a problem trying to get this to work well.  Basically,
whenever I try to
import tkinter, this is the issue that I have:

>>> import tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.3/tkinter/__init__.py", line 40, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named '_tkinter'

I'm running Ubuntu.  If I need to provide any further info, please let me
know.

--047d7bf0d52ef12d7304d836299a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi.=A0 I&#39;m having a problem trying to get this to work well.=A0 Basical=
ly, whenever I try to<br>import tkinter, this is the issue that I have:<br>=
<br>&gt;&gt;&gt; import tkinter<br>Traceback (most recent call last):<br>=
=A0 File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
=A0 File &quot;/usr/local/lib/python3.3/tkinter/__init__.py&quot;, line 40,=
 in &lt;module&gt;<br>=A0=A0=A0 import _tkinter # If this fails your Python=
 may not be configured for Tk<br>ImportError: No module named &#39;_tkinter=
&#39;<br>
<br>I&#39;m running Ubuntu.=A0 If I need to provide any further info, pleas=
e let me know.<br>

--047d7bf0d52ef12d7304d836299a--
0
3/18/2013 5:17:30 PM
comp.lang.python 77058 articles. 6 followers. Post Follow

0 Replies
1330 Views

Similar Articles

[PageSpeed] 16

Reply: