[issue28726] py.exe launches wrong version

2016-11-17 Thread Pravic Ehysta

Pravic Ehysta added the comment:

Well, I deleted outdated registry keys, now it works fine.

Thanks for helping and I am going to close this issue since it isn't a bug.

--
resolution:  -> not a bug
status: open -> closed

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28726>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28726] py.exe launches wrong version

2016-11-17 Thread Pravic Ehysta

Pravic Ehysta added the comment:

d:\>py -3.5
launcher build: 32bit
launcher executable: Console
File 'C:\Users\owle\AppData\Local\py.ini' non-existent
File 'C:\Windows\py.ini' non-existent
Called with command line: -3.5
locating Pythons in 64bit registry
locate_pythons_for_key: D:\perl\python\278\python.exe is a 32bit executable
locate_pythons_for_key: D:\perl\python\278\PCBuild\win32\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\perl\python\278\PCBuild\amd64\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\perl\python\278\PCBuild\python.exe: ??? ?? 
??? ? ? .
HKCU\SOFTWARE\Python\PythonCore\3.4\InstallPath: ?? ??? ? ? 
.
HKLM\SOFTWARE\Python\PythonCore\2.7\InstallPath: ?? ??? ? ? 
.
locate_pythons_for_key: D:\perl\python\3\python.exe is a 64bit executable
locate_pythons_for_key: D:\perl\python\3\PCBuild\win32\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\perl\python\3\PCBuild\amd64\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\perl\python\3\PCBuild\python.exe: ??? ?? ??? 
? ? .
locate_pythons_for_key: D:\Perl\python\3\python.exe: already found
locate_pythons_for_key: D:\Perl\python\3\PCBuild\win32\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\Perl\python\3\PCBuild\amd64\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\Perl\python\3\PCBuild\python.exe: ??? ?? ??? 
? ? .
locating Pythons in native registry
locate_pythons_for_key: D:\perl\python\278\python.exe: already found
locate_pythons_for_key: D:\perl\python\278\PCBuild\win32\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\perl\python\278\PCBuild\amd64\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\perl\python\278\PCBuild\python.exe: ??? ?? 
??? ? ? .
HKCU\SOFTWARE\Python\PythonCore\3.4\InstallPath: ?? ??? ? ? 
.
locate_pythons_for_key: D:\perl\python\2\python.exe is a 32bit executable
locate_pythons_for_key: D:\perl\python\2\PCBuild\win32\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\perl\python\2\PCBuild\amd64\python.exe: ??? ?? 
??? ? ? .
locate_pythons_for_key: D:\perl\python\2\PCBuild\python.exe: ??? ?? ??? 
? ? .
HKLM\SOFTWARE\Python\PythonCore\3.4\InstallPath: ?? ??? ? ? 
.
search for Python version '3.5' found no interpreter
Requested Python version (3.5) not installed


It seems, there are old registry keys which were not deleted by installer. 

HKEY_CURRENT_USER\Software\Python\PythonCore - contains 2.7 and invalid 3.4 
(with "modules" subkey only)

HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore - contains 2.7 (modules only), 
3.4 and 3.5.

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore - contains 2.7 and 
3.4 (modules only).

Quiet messy. How can I clean my registry without reinstalling site packages?

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28726>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28726] py.exe launches wrong version

2016-11-17 Thread Pravic Ehysta

New submission from Pravic Ehysta:

d:\>py -3.5
Requested Python version (3.5) not installed

d:\>py -3.3
Requested Python version (3.3) not installed

d:\>py -3.4
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit 
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ^Z

------
components: Windows
messages: 281045
nosy: Pravic Ehysta, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: py.exe launches wrong version
type: behavior
versions: Python 3.5

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28726>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com