Can't run any script without it failing due to calling tkinter for no reason

Benjamin Kaplan benjamin.kaplan at case.edu
Sun Oct 14 22:18:12 EDT 2012


On Sun, Oct 14, 2012 at 6:47 PM,  <pythonusernw at 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.



More information about the Python-list mailing list