unable to open IDLE for Python3.50rc1 on windows10 64bit AMD

Nicky Mac nmcelwaine at gmail.com
Thu Dec 24 10:11:05 EST 2015


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__' (<class 'ImportError'>: 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 <nmcelwaine at gmail.com> 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 <nmcelwaine at gmail.com> 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 <nmcelwaine at gmail.com> 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 <eryksun at gmail.com> wrote:
>>>
>>>> On Wed, Dec 23, 2015 at 1:51 PM, Nicky Mac <nmcelwaine at gmail.com>
>>>> 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



More information about the Python-list mailing list