On 5/24/2011 4:12 PM, markrrivet at aol.com wrote:
On Tue, 24 May 2011 12:50:47 -0400, Terry Reedy<tjreedy at udel.edu>
How do you try to start it?
From start|programs|python and clicking on the idle icon.
OK. Works fine for me on winxp desktop and win7 laptop.
3.2.1 will be out soon. Whether or not you find a fix before that,
download it, install, and try again. I think I would uninstall 3.2.0
first. You could, of course, try re-installing.
I just tried
C:\Documents and Settings\Terry>set PYTHONPATH
Environment variable PYTHONPATH not defined
so undefining that should not be the problem.
The icon properties are not helpful as to how it starts IDLE.
Perhaps is uses ../python32/Lib/idlelib/idle.bat
rem Start IDLE using the appropriate Python interpreter
start "%CURRDIR%..\..\pythonw.exe" "%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6
%7 %8 %9
In a command prompt window you could directly try something like
which works for me. Make sure idlelib and idle.pyw are present.
Also check tcl/ and Lib/tkinter/
# IDLE is not installed, but maybe PyShell is on sys.path:
from . import PyShell
idledir = os.path.dirname(os.path.abspath(PyShell.__file__))
if idledir != os.getcwd():
# We're not in the IDLE directory, help the subprocess find
pypath = os.environ.get('PYTHONPATH', '')
os.environ['PYTHONPATH'] = pypath + ':' + idledir
os.environ['PYTHONPATH'] = idledir
PYTHONPATH does come into play if but only if two imports fail.
You could make a copy of that and add prints to see what does and does
Terry Jan Reedy