Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'else:': 0.03; 'ok.': 0.04; 'subject:Python': 0.06; 'importerror:': 0.07; 'imports': 0.07; 'interpreter': 0.07; 'prints': 0.07; 'terry': 0.07; 'python': 0.08; 'install,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'skip:o 50': 0.09; 'subprocess': 0.09; 'pm,': 0.10; 'subject:error': 0.11; 'wrote:': 0.14; 'defined': 0.14; "'')": 0.16; '3.2.1': 0.16; 'installed,': 0.16; 'reedy': 0.16; 'win7': 0.16; 'tue,': 0.17; 'command': 0.19; 'jan': 0.20; 'starts': 0.20; 'header:In-Reply-To:1': 0.21; 'appropriate': 0.21; 'variable': 0.21; 'fine': 0.22; 'maybe': 0.23; 'fix': 0.23; 'tried': 0.27; 'helpful': 0.28; 'raise': 0.28; 'import': 0.29; 'idle': 0.29; 'environment': 0.30; 'header:X-Complaints-To:1': 0.32; 'does': 0.33; 'to:addr:python-list': 0.33; 'skip:" 20': 0.33; 'it?': 0.33; "we're": 0.34; 'first.': 0.34; 'that,': 0.34; 'header:User-Agent:1': 0.35; 'skip:" 10': 0.35; 'icon': 0.35; 'try:': 0.35; 'using': 0.35; 'properties': 0.36; 'uses': 0.36; 'skip:o 20': 0.37; 'something': 0.37; 'skip:= 20': 0.37; 'two': 0.37; 'think': 0.38; 'received:org': 0.38; 'could': 0.38; 'problem.': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'skip:s 20': 0.39; 'should': 0.39; 'perhaps': 0.39; 'header:Mime-Version:1': 0.39; 'add': 0.39; 'to:addr:python.org': 0.39; 'help': 0.40; 'play': 0.64; 'subject:. ': 0.65; 'present.': 0.67; 'soon.': 0.71; 'clicking': 0.84; 'email addr:aol.com': 0.86 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Python 3.2 Idle doesn't start. No error message. Date: Tue, 24 May 2011 17:53:53 -0400 References: <677nt65c93756jvjbvpume2kdj6it0dm4g@4ax.com> <4o3ot6h6efljelmtvqu6fcu6o9vqpfjoec@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: rain.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: <4o3ot6h6efljelmtvqu6fcu6o9vqpfjoec@4ax.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 64 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306274048 news.xs4all.nl 49180 [::ffff:82.94.164.166]:35008 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6176 On 5/24/2011 4:12 PM, markrrivet@aol.com wrote: > On Tue, 24 May 2011 12:50:47 -0400, Terry Reedy >> 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 @echo off rem Start IDLE using the appropriate Python interpreter set CURRDIR=%~dp0 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 C:\Programs\Python32>pythonw Lib\idlelib\idle.pyw which works for me. Make sure idlelib and idle.pyw are present. Also check tcl/ and Lib/tkinter/ idle.pyw has ======================= try: import idlelib.PyShell except ImportError: # IDLE is not installed, but maybe PyShell is on sys.path: try: from . import PyShell except ImportError: raise else: import os idledir = os.path.dirname(os.path.abspath(PyShell.__file__)) if idledir != os.getcwd(): # We're not in the IDLE directory, help the subprocess find run.py pypath = os.environ.get('PYTHONPATH', '') if pypath: os.environ['PYTHONPATH'] = pypath + ':' + idledir else: os.environ['PYTHONPATH'] = idledir PyShell.main() else: idlelib.PyShell.main() ========================== 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 not execute. -- Terry Jan Reedy