Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31277
| References | <2bc334bc-6b2c-45f2-94ed-5933c196f47a@googlegroups.com> |
|---|---|
| Date | 2012-10-14 19:18 -0700 |
| Subject | Re: Can't run any script without it failing due to calling tkinter for no reason |
| From | Benjamin Kaplan <benjamin.kaplan@case.edu> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2193.1350267563.27098.python-list@python.org> (permalink) |
On Sun, Oct 14, 2012 at 6:47 PM, <pythonusernw@gmail.com> wrote: > Hello All, > > > I'm running python 3.2 on Freebsd 9.0 Release and I must've screwed up my environment somehow, because now I can't run any script without it failing and throwing: > ** IDLE can't import Tkinter. Your Python may not be configured for Tk. ** > > Yet none of my scripts use tkinter nor call that module. They're simple network scraping scripts. I use pydev and eclipse and must've fat fingered something that screwed up my python environment, but I haven't the slightest clue on how to fix it. I can run my scripts in idle no problem, but I've built them as command line apps. I've tried uninstalling python 3 and reinstalling it to no avail. What did I do, and how can I fix it? > > Thanks, > Adam > -- IDLE uses Tkinter. If you don't have Tk installed, just run the scripts from the terminal or pick a different IDE.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can't run any script without it failing due to calling tkinter for no reason pythonusernw@gmail.com - 2012-10-14 18:47 -0700
Re: Can't run any script without it failing due to calling tkinter for no reason Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-10-14 19:18 -0700
Re: Can't run any script without it failing due to calling tkinter for no reason Adam G <pythonusernw@gmail.com> - 2012-10-14 19:48 -0700
Re: Can't run any script without it failing due to calling tkinter for no reason Adam G <pythonusernw@gmail.com> - 2012-10-14 19:48 -0700
csiph-web