You are not logged in.

#1 2017-08-19 03:57:17

onesandzeros
Member
Registered: 2005-09-16
Posts: 41

error when opening Python IDLE

I don't see any references to this around the net, and an Arch install that I haven't updated in a few days runs IDLE fine.

When I try running idle, idle3, or idle2 from the command line, I get this:

onesandzeros@local:/home/onesandzeros ->idle
Traceback (most recent call last):
  File "/usr/bin/idle", line 5, in <module>
    main()
  File "/usr/lib/python3.6/idlelib/pyshell.py", line 1458, in main
    root = Tk(className="Idle")
  File "/usr/lib/python3.6/tkinter/__init__.py", line 2017, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: unknown color name "BACKGROUND"

- tk and tcl are installed
- I am running this as a regular user
- I've grep'd through ~/.config and ~/.local, no results for BACKGROUND, plus this is a new install and I didn't copy and hidden directories into my new ~/

Offline

#2 2017-08-19 15:55:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,768

Re: error when opening Python IDLE

Sorry, I just tried it here and it works fine.  I run under i3wm


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB