Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Nicky Mac Newsgroups: comp.lang.python Subject: Re: unable to open IDLE for Python3.50rc1 on windows10 64bit AMD Date: Thu, 24 Dec 2015 15:11:05 +0000 Lines: 101 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de KyxsVUdV0Hf4JgOBLtl6MAFvSio58AsLZWG2JhCJCg5A== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:IDLE': 0.04; 'executed': 0.07; 'cc:addr:python-list': 0.09; '"my': 0.09; 'spec': 0.09; 'python': 0.10; 'wed,': 0.15; 'skip:p 40': 0.15; '23,': 0.16; 'beginning.': 0.16; 'idlelib': 0.16; 'magic': 0.16; 'nick': 0.16; 'openoffice': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'registry': 0.16; 'result:': 0.16; 'skip:a 110': 0.16; 'skip:p 90': 0.16; 'wrote:': 0.16; 'directory.': 0.18; '>': 0.18; 'email addr:gmail.com>': 0.18; '>>>': 0.20; 'windows': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'meant': 0.22; 'fixing': 0.22; 'cc:no real name:2**0': 0.22; 'seems': 0.23; 'dec': 0.23; 'references': 0.23; "haven't": 0.24; 'unix': 0.24; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'error': 0.27; 'message-id:@mail.gmail.com': 0.27; 'time:': 0.27; "skip:' 10": 0.28; 'looks': 0.29; 'attempting': 0.29; 'end,': 0.29; 'figured': 0.29; 'python2.7': 0.29; 'wasting': 0.29; 'environment': 0.29; 'print': 0.30; 'anywhere': 0.30; 'guess': 0.31; 'entry': 0.31; 'fixed': 0.31; 'december': 0.32; 'maybe': 0.33; "i'll": 0.33; 'received:google.com': 0.35; 'skip:c 30': 0.35; 'path': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'skip:& 10': 0.37; 'mac': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'skip:p 20': 0.38; 'files': 0.38; 'mean': 0.38; 'sure': 0.39; 'still': 0.40; 'your': 0.60; 'profile': 0.63; 'christmas': 0.66; 'dear': 0.67; 'greetings': 0.71; 'entry,': 0.84; 'horrible': 0.84; 'skip:p 80': 0.84; 'suggestion,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=suczqPVC85raPyKRZ3bOWoGENy6oX7iKorJQJYYaluQ=; b=hE+wJtqGqSQEwpcsdInQPhD9f5zXB3lpuVX5sxOCLmjJ6CFe4rI5CeUPd+qoTlZPVS n1w6EsWzS9NXd3X3jhCLN1+y8yPZ23ac0IJp0xGzBqF0Mb66lNb4BUInP1IKnO6Mzq0E VkzsTYfJ9jEjUNe09dQBrGieMHTeZv6XoZ6K7kd6TBtNorrFj6wrUYheMKJLmb+Zg5tH OCnDXr88NisDogWMZ/42gDAJNeHqidEI2sAKV5swED5c8Or8NPkbGsarRAFIexr/yd/2 ZxN0349VWwS40qtlyeSa1sKFydULsD8SZSYQVbAqsqsv/miCcSm8EEhlivhEwYuWJ6fD W2vQ== X-Received: by 10.51.17.39 with SMTP id gb7mr39235894igd.54.1450969866032; Thu, 24 Dec 2015 07:11:06 -0800 (PST) In-Reply-To: X-Mailman-Approved-At: Thu, 24 Dec 2015 12:28:58 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.20+ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100819 sorry to be such a darned nuisance - fixed the PATH to eliminate Py2.7 references but get same result: C:\Users\Nick>path PATH=C:\Python\Python35\Scripts\;C:\Python\Python35\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static; C:\Users\Nick>python -m idlelib C:\Python\Python35\python.exe: Error while finding spec for 'idlelib.__main__' (: bad magic number in 'idlelib': b'\x03\xf3\r\n'); 'idlelib' is a package and cannot be directly executed On 24 December 2015 at 14:52, Nicky Mac wrote: > what a horrible environment windows is to support anything! > (I was a UNIX professional). > seems the user profile PATH is a registry entry, and was not updated when > I deinstalled Python2.7 > still haven't figured out how to change it - I will NOT attempy a regedit. > > season's greetings > > On 24 December 2015 at 13:59, Nicky Mac wrote: > >> Dear python Team >> I think I've been wasting your time: >> >> C:\Users\Nick>path >> PATH=C:\Python27\;C:\Python27\Scripts;C:\ProgramData\Oracle\Java\javapath;C:\Program >> Files\Broadcom\Broadcom 802.11 Network >> Adapter;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program >> Files (x86)\ATI >> Technologies\ATI.ACE\Core-Static;C:\Python\Python35\Scripts\;C:\Python\Python35\ >> >> somehow the new py3.5 has been added to the end, not the beginning. >> guess this path is what you meant by "my profile". >> I'll set about fixing it. >> Meery christmas to you all >> Nick >> >> On 24 December 2015 at 11:06, Nicky Mac wrote: >> >>> Hello again.] >>> not sure what you mean by "my profile". >>> following your suggestion, looks normal: >>> >>> C:\Users\Nick> python -c "import importlib; >>> print(importlib.find_loader('idlelib').path)" >>> C:\Python\Python35\lib\idlelib\__init__.pyc >>> >>> A search for idlelib shows this one plus one deep inside OpenOffice and >>> a Game. >>> >>> On 23 December 2015 at 21:20, eryk sun wrote: >>> >>>> On Wed, Dec 23, 2015 at 1:51 PM, Nicky Mac >>>> wrote: >>>> > >>>> > no sign of old Py2.7 anywhere :- >>>> > >>>> > C:\Users\Nick>python -c "import sys; print(*sys.path, sep='\n')" >>>> > >>>> > C:\Python\Python35\python35.zip >>>> > C:\Python\Python35\DLLs >>>> > C:\Python\Python35\lib >>>> > C:\Python\Python35 >>>> > C:\Python\Python35\lib\site-packages >>>> >>>> The first blank entry is for the current directory. Do you maybe have >>>> an old "idlelib" directory in your profile? >>>> >>>> Print what it's attempting to load: >>>> >>>> python -c "import importlib; >>>> print(importlib.find_loader('idlelib').path)" >>>> >>> >>> >>> >>> -- >>> Nick "Mac" McElwaine >>> >> >> >> >> -- >> Nick "Mac" McElwaine >> > > > > -- > Nick "Mac" McElwaine > -- Nick "Mac" McElwaine