No python installation was detected
не работала библиотека для питона моей версии, решил установить более старую, не удалив при этом стоявшую. Потом как идиот удалил все версии python просто удалив все файлы из папки pyton/python38 и python/python371. Теперь при установке написано, что уже установлено, а при удалении «No python installation was detected»
Отслеживать
задан 31 мар 2020 в 19:47
47 8 8 бронзовых знаков
При установке чего выводит такое сообщение? Пакета или Python ?
31 мар 2020 в 19:56
@nomnoms12 да, скорее всего. Не очень похоже, что такое выводится при установке и удалении библиотеки
No python installation was detected что делать
Задача 45420
![]()
➜
This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python’s Developer Guide.
Created on 2021-10-10 01:08 by wyz23x2, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Файлы | ||||
|---|---|---|---|---|
| Имя файла | Загружен | Description | Редактировать | |
| new_install_log.log | wyz23x2 , 2021-10-10 01:08 | |||
| old_modify_log.log | wyz23x2 , 2021-10-10 01:10 | |||
| screenshot.png | wyz23x2 , 2021-10-17 01:58 | |||
Hi, I've downloaded Python 3.10 final (64-bit) from python.org on October 6. But when I run the installer with administrator permission, it says "No Python 3.10 installation was detected". Error code: 0x80070643. The stranger thing is when I run "repair" from the 3.10rc2 installer, it's the same message & code; but, if "modify" is run, the window is "A newer version of Python 3.10 is already installed", error code same. Thanks for help.
Note: I'm trying to move the installation path from Local\Programs\Python\Python310 under user dir to C:\Program Files\Python310.
Did you delete the old installation in the old location first?
I did.
You probably need to also select the "Install for All Users" checkbox, rather than just updating the target path. Running as admin *technically* gives you the ability to write to those locations, but it also implies that nobody except Admin should be able to access it. Choosing the proper option should do it correctly. This kind of issue can also arise when you directly delete the install, rather than uninstalling it. Best thing to do if you can is to run a repair through the Add Remove Programs entry, and then uninstall it (this is because ensurepip needs a working install to uninstall itself. not ideal, but that's how it was added). Then you should be able to do the proper install. However, if it was previously installed for All Users, then switching the option in your new install might be able to handle it. Trying to upgrade from per-user to all users seems to hit issues sometimes.
I'm sorry, but the option is grayed out. See attached screenshot.
> This kind of issue can also arise when you directly delete the install, rather than uninstalling it. Sort of, but I expected upgrading with a new directory to work. When the first few times didn't work, I deleted the installation directly (should have uninstalled it). :( > Best thing to do if you can is to run a repair through the Add Remove Programs entry, and then uninstall it (this is because ensurepip needs a working install to uninstall itself. not ideal, but that's how it was added). Then you should be able to do the proper install. Running from the Add Remove Programs entry prompts for admin access. (Is there a way to do that in Control Panel?) Directly running "repair" in the rc2 installer with admin says "No Python 3.10 installation was detected", error code: 0x8007064. (Same error message & code when running 3.10 final installation.) Sorry if the problem is complicated.
It's not really complicated, it's just a little difficult to find the right files you need. > Running from the Add Remove Programs entry prompts for admin access. Which clearly shows it was previously installed by an admin, and so you'll need that to remove/repair/upgrade it properly. If you aren't an administrator on your machine, you'll need to find out who is and ask them to do it. > Directly running "repair" in the rc2 installer with admin says "No Python 3.10 installation was detected" This generally means you need a different copy of the installer. There should only be 32-bit and 64-bit ones floating around, but it may be that you actually need RC1 and not RC2? They are all subtly different (most notably in their primary UUID ;) ) and won't repair each other (which would be an upgrade/downgrade, which should work when you haven't deleted all the files manually). Otherwise, there used to be tools out there that could delete all the registrations in the Windows installer database, but I haven't had to use one in years and I have no idea which would work well. If you can remove all the registration entries (which you can't do by hand, trust me, you need a clever tool) then you should be able to install a new version without hitting these issues.
I upgraded to Windows 11 _and_ deleted all Python 3.10 related installations in regedit. Still doesn't work :(
BTW, how does the installer detect whether if another version is installed?
What tool did you use to find all the component registrations? If your answer is "Registry Editor", there's no chance you found them all. You'll need a tool specifically designed for cleaning up MSI issues. I don't know all the keys used. They're managed by the operating system, not by us.
Problem solved by installing 3.10.1. (Why?) Thanks!
| История | |||
|---|---|---|---|
| Дата | Пользователь | Действие | Параметры |
| 2022-04-11 14:59:51 | admin | установка | github: 89583 |
| 2021-12-08 14:02:15 | wyz23x2 | установка | статус: open -> closed resolution: fixed сообщения: + msg408019 |
No Python 3.8 installation was detected
Python installation screenshot 1.i Uninstall everything of python with advance uninstaller . ( register file and . ) 2.i download the last version of Python from python.org 3. i add the Include PATH file when start the installation of Python. BUT I don’t KNOW WHY ITS NOT Installed !
58 6 6 bronze badges
asked Apr 26, 2020 at 8:19
Alireza Atashnejad Alireza Atashnejad
621 1 1 gold badge 6 6 silver badges 23 23 bronze badges
There are many things that could go wrong, If you are not up for troubleshooting, I would suggest going for anaconda distributions of Python.
Apr 26, 2020 at 8:22
7 Answers 7
Delete Python3 Folder—> C:\Users\USERNAME\AppData\Local\Programs\python
Control Panel —> Uninstall a Program
Right Click on Python and then Change —> Modify
Click on Repair Python.
Control Panel —> Uninstall a Program
Now —> uninstall Python
Note: To avoid problems, it is better Delete path Python in edit environment variables windows
answered May 16, 2021 at 5:08
1,124 11 11 silver badges 22 22 bronze badges
Error Code 0x80070643
I found it.
if you are not administrator of the system , and change the location of installation , for example (c:\python) this error will be appear . so you must be install python on (c:\users\’your username’\App Data\Local\Programs\Python)
and after installation python go to system environment and add the path into this.
answered Apr 26, 2020 at 8:59
Alireza Atashnejad Alireza Atashnejad
621 1 1 gold badge 6 6 silver badges 23 23 bronze badges
For Windows 10 : First install windows x86-64 executable installer and open it. Then click on repair and done.
If this occurs while uninstallation : Do the above steps and then uninstall it.
31.9k 25 25 gold badges 91 91 silver badges 139 139 bronze badges
answered Nov 30, 2020 at 11:22
29 1 1 bronze badge
I accidentally copied the python folder from the installed location into my C drive and encountered this problem. Following steps worked for me.
- Run the Python installer (.exe) file
- Select the repair option, let it process.
- Run the Installer again. This time select uninstall and let it process
- Run the Installer again and this time go with the customization option and check the Add path option also.
open cmd and type python —version, if it displayed python version. You are good to go.
answered Nov 12, 2021 at 20:01
41 1 1 silver badge 5 5 bronze badges
Windows 10. Had this issue from a while and after a lot of hit & trials, finally resolved it. Downloaded the Windows troubleshooter. Removed every application option with Python’s name as suffix, and tried uninstalling from Control panel. It worked. And then I installed the required python version with ease. Troubleshooter : MicrosoftProgram_Install_and_Uninstall.meta.diagcab
answered Jun 14, 2022 at 12:59
Deepshikha Gupta Deepshikha Gupta
11 2 2 bronze badges
Choose custom installation then next .. your problem will get solve it worked for me.
answered Jun 26, 2020 at 5:49
Following @sjDev answer, I did something similar:
- Download the installer again
- Repair
- Control panel uninstall.
Solved for me. Yeah!
answered Nov 16, 2023 at 17:04
21 3 3 bronze badges
- python
- python-3.x
- visual-studio-code
- installation
-
The Overflow Blog
ends in 3 days
Linked
Related
Hot Network Questions
Subscribe to RSS
Question feed
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2024.3.8.5973
No Python 3.8 installation was detected
No Python 3.8 installation was detected.

и далее ошибка
Setup failed
One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the log file .
0x80070643 — В процессе установки произошла неисправимая ошибка.

Для устранения ошибки необходимо перейти в папку Package Cache
и удалить все папки.
Затем повторить процесс удаления, Python 3.8 должен благополучно удалиться.

4484