Starting Python in XP Pro
gveggie at gmail.com
Sun Oct 17 05:27:11 CEST 2010
I hear that...God knows if I had a more complete question, I'd type it -
basically, when I click the IDLE GUI icon from the Start Menu, there is a
flash of a command prompt loading, then nothing happens.
I've tried a number of things at the command prompt over the last two weeks
and five versions. I went to ActiveState because I was thinking I had not
configured something properly in the Python.org versions, however, the
behavior is the same.
I ran C:\>C:\python26\lib\idlelib\idle.py at the command prompt and that
Traceback (most recent call last):
File "C:\python26\lib\idlelib\idle.py", line 21, in <module>
File "C:\Python26\lib\idlelib\PyShell.py", line 1386, in main
root = Tk(className="Idle")
File "C:\Python26\lib\lib-tk\Tkinter.py", line 1643, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive,
objects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following
6/lib/tcl8.5 C:/lib/tcl8.5 C:/lib/tcl8.5 C:/library C:/library
C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl: version conflict for package
ve 8.5.8, need exactly 8.4
version conflict for package "Tcl": have 8.5.8, need exactly 8.4
"package require -exact Tcl 8.4"
(file "C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl" line 19)
invoked from within
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
This probably means that Tcl wasn't installed properly.
I hope this helps. Thanks again for any help.
On Sat, Oct 16, 2010 at 6:30 PM, Dave Angel <davea at ieee.org> wrote:
> On 2:59 PM, Grant Andrew wrote:
>> I'm a beginning user with some challenges. I have installed and
>> several versions with the same results - I can't get IDLE to work, nor can
>> associate .py files with Python.
>> So I can get the interactive shell interface but nothing else. I'm
>> currently running ActiveState 2.6.
>> Any thoughts on where to begin are appreciated.
>> You could start by writing a more complete question. Exactly what have
> you tried, and in what way does it "not work" ? Show what you typed at the
> command prompt, and just what error messages you got. Use copy & paste,
> don't retype it.
> With the ActiveState default install, you shouldn't need to create your own
> association; it should already be done by the installation. However, if
> you install multiple versions, and don't properly uninstall, it might change
> the default.
> Have you tried running python.exe explicitly?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list