Python Forum

Full Version: Python 3.6.0 PyLauncher Installation on Windows 10
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just installed 3.6.0 (64-bit) on Win 10. I don't install to the default location, but to C:/Apps/Python36. Double-clicking on a .py or .pyw script results in an error pop-up stating there's no association. In a command window, I see the installation directory and the Scripts subdirectory in the path. Right-clicking on a .py script shows "open with Idle".

Under Windows' settings, I see Python Launcher in the "Apps & features" list right below 3.6.0, but in the "Default apps" list "by file type" I only see the extensions .pyd, .pyz, and .pyzw, none of which has an associated default app.

I also can't find either py launcher (I've looked in C:/Windows, but it's not there, even though the registry shows it there under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Python\PyLauncher).

What happened, and how do I fix it?
In your System Environmental variables do you have the following

C:\Apps\Python36;C:\Apps\Python36\Scripts

You can check by typing "path" in a cmd terminal.
Yes, both of those directories, as you show them, are on the path. I looked there for the launchers as well as C:/Windows.
From the command prompt, if you type "python" do you get something similar to:

Output:
Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\>python Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
It's not about path,but Windows file type associations.
Yes, the path does find python; and command-line python does output exactly this text.

I think I'm asking where pylauncher is. And why it's not where expected, and why the associations are broken.

And finally how do I fix it? Uninstalling and reinstalling alone doesn't help any

I don't know why the font size changed.
If that is the case, then right click on a .py file -> click on Properties. You should have: 
Type of File: Python File (.py)
Opens with: Python

If it doesn't say that, click Change.  If Python is not an option, click on More Apps, scroll to the bottom and click on "Look for another App on this PC. This will bring up the File Manager, navigate to C:\Apps\Python36, click on "python.exe"