D
D
Daniil Shevkunov2021-07-23 19:24:20
Python
Daniil Shevkunov, 2021-07-23 19:24:20

Why doesn't Python launcher (C:\Windows\py.exe) install when installing Python 3.9.6?

I had Python launcher 3.10 because I use python 3.9 and it was also in my path, I also need a launcher of the same version, I deleted C:\Windows\py.exe and C:\Windows\pyw.exe, then I tried to modify Python:
60faed031e1ff283075676.png
Files did not appear
Tried reinstalling python, didn't help either. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
snxx, 2021-07-23
@danila763

Create a PyLaunch.reg file on your desktop and open it with an editor and write down this:

REGEDIT4

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.9\InstallPath]
"ExecutablePath"="C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python39-64\\python.exe"
"WindowedExecutablePath"="C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python39-64\\pythonw.exe"
@="C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python39-64\\"

Save the file and open cmd.exe. Copy the command to the console:
REGEDIT /S PyLaunch.reg
I hope it helps.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question