Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41447
| Return-Path | <yoursurrogategod@gmail.com> |
|---|---|
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'subject:Python': 0.05; 'importerror:': 0.05; 'installed.': 0.05; 'python3': 0.05; 'dependency': 0.07; 'tkinter': 0.07; 'try:': 0.07; 'python': 0.09; '40,': 0.09; 'newest': 0.09; 'newly': 0.09; 'subject:Getting': 0.09; 'cc:addr:python-list': 0.10; ':-/': 0.16; 'lists...': 0.16; 'sudo': 0.16; 'ubuntu.': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'have:': 0.17; 'version.': 0.17; '>>>': 0.18; 'subject:] ': 0.19; 'module': 0.19; 'email addr:gmail.com>': 0.20; 'skip:" 40': 0.20; 'trying': 0.21; 'import': 0.21; '"",': 0.22; '>>>': 0.22; 'installation': 0.23; 'cc:2**0': 0.23; 'seems': 0.23; 'cc:no real name:2**0': 0.24; 'linux': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; '(most': 0.27; 'tree': 0.27; 'message-id:@mail.gmail.com': 0.27; 'installed,': 0.29; 'url:mailman': 0.29; 'skip:& 10': 0.29; "i'm": 0.29; 'install': 0.29; 'url:python': 0.32; 'file': 0.32; 'running': 0.32; 'url:listinfo': 0.32; 'traceback': 0.33; 'problem': 0.33; 'know.': 0.33; 'skip:& 20': 0.33; 'received:google.com': 0.34; 'done': 0.34; 'pm,': 0.35; 'url:org': 0.36; 'well.': 0.37; 'url:mail': 0.40; 'your': 0.60; 'remove': 0.61; 'further': 0.61; 'provide': 0.62; 'more': 0.63; '2013': 0.84; 'apt-get': 0.84; 'basically,': 0.84; 'info,': 0.91; 'have.': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=8s/Tl3A1JZbZG+W4vhtq9Is6wtPSCY9IbnEqySq0UpY=; b=lLrkkJUtz1dBgQ0fknlp63rgUyTon5SSdFvdj72e4Oj2jnn08bWABOgFe8xvHyRO3l /rYigI9GqgPJtQdi7syqOtdGiGrP4zpFxqamPci/Du0RSqy3tzqFuBSrNKWVNK3TkJe+ neaf+NPo7H7Li9JOTVHxHEx9k4mzXOjEuqtxMWJksqzbc6srb/TlfwHmOPOBvSQ2f7cp sSLfjyFXSXkybzdppenq1Q+IML6mqkym+98lLSG9wAJ7ZspCZ8AqIC7TdRCBrDFCDoNS /5j9dW+qHoGlxO4V5rwbhjwroVKNlhijh69XZIxH9tf/YtQ6/G07nT2mb63XgJOIvljZ Q6yg== |
| MIME-Version | 1.0 |
| X-Received | by 10.180.14.233 with SMTP id s9mr66347wic.25.1363631399133; Mon, 18 Mar 2013 11:29:59 -0700 (PDT) |
| In-Reply-To | <CADDtcm_2xyTBfgQXV9aaMwo1QxxaPb6-De1UYm9+3bX7agnKTg@mail.gmail.com> |
| References | <CAJ=2b07Ji9z4QjPUdn6eEy7cGXeFnLByWKaDwna=7qc=Tb7Aug@mail.gmail.com> <CADDtcm_2xyTBfgQXV9aaMwo1QxxaPb6-De1UYm9+3bX7agnKTg@mail.gmail.com> |
| Date | Mon, 18 Mar 2013 14:29:59 -0400 |
| Subject | Re: [Python 3.3.0] Getting tkinter to work on Python 3 |
| From | "Yves S. Garret" <yoursurrogategod@gmail.com> |
| To | Ritchie Flick <xenplex@gmail.com> |
| Content-Type | multipart/alternative; boundary=f46d040fa03c26673e04d8372d8f |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3466.1363631400.2939.python-list@python.org> (permalink) |
| Lines | 121 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1363631400 news.xs4all.nl 6975 [2001:888:2000:d::a6]:46228 |
| X-Complaints-To | abuse@xs4all.nl |
| Path | csiph.com!usenet.pasdenom.info!news.franciliens.net!feed.ac-versailles.fr!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
| Xref | csiph.com comp.lang.python:41447 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
I have. This is what I did and the result that I'm seeing.
$ sudo apt-get install python3-tk
[sudo] password for ysg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-tk is already the newest version.
python3-tk set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
$ python3
Python 3.3.0 (default, Mar 11 2013, 15:04:13)
[GCC 4.5.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 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'
>>>
:-/
On Mon, Mar 18, 2013 at 2:22 PM, Ritchie Flick <xenplex@gmail.com> wrote:
> Seems tkinter is missing in standard installation in ubuntu. Try:
> sudo apt-get install python3-tk
>
>
> On Mon, Mar 18, 2013 at 6:17 PM, Yves S. Garret <
> yoursurrogategod@gmail.com> wrote:
>
>> 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.
>>
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>
>>
>
>
> --
> Ritchie Flick
>
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: [Python 3.3.0] Getting tkinter to work on Python 3 "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-18 14:29 -0400
csiph-web