Ошибка при установке питона 0x80070643

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 0x80070643 when installing #81937

Error 0x80070643 when installing #81937

Comments

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

assignee = None closed_at = Date 2021-03-28.03:23:15.318> created_at = Date 2019-08-04.15:22:58.615> labels = ['3.7', 'invalid', 'type-bug', 'expert-installation', 'OS-windows'] title = 'Error 0x80070643 when installing' updated_at = Date 2021-03-28.03:23:15.316> user = 'https://bugs.python.org/bfbfbfbbfbfbf'
activity = Date 2021-03-28.03:23:15.316> actor = 'eryksun' assignee = 'none' closed = True closed_date = Date 2021-03-28.03:23:15.318> closer = 'eryksun' components = ['Installation', 'Windows'] creation = Date 2019-08-04.15:22:58.615> creator = 'bfbfbfb bfbfbf' dependencies = [] files = ['48529'] hgrepos = [] issue_num = 37756 keywords = [] message_count = 5.0 messages = ['348988', '349336', '349340', '349355', '349364'] nosy_count = 7.0 nosy_names = ['terry.reedy', 'paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'bfbfbfb bfbfbf'] pr_nums = [] priority = 'normal' resolution = 'not a bug' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue37756' versions = ['Python 3.7']

The text was updated successfully, but these errors were encountered:

bfbfbfbbfbfbf mannequin added type-crash A hard crash of the interpreter, possibly with a core dump 3.7 (EOL) end of life topic-installation labels Aug 4, 2019

The error comes from Windows and it indicates a problem with your computer. Questions about Windows errors should be initially directed to python-list or elsewhere.

terryjreedy added invalid type-bug An unexpected behavior, bug, or error and removed type-crash A hard crash of the interpreter, possibly with a core dump labels Aug 10, 2019

If we see 0x8XXX_XXXX, it’s either an NTSTATUS [1] warning, which is unlikely, or and HRESULT [2] error, which is very likely. One of the more common facility codes for HRESULT is the Windows API, 0x007. If we see 0x8007XXXX, then XXXX is a Windows system error code [3]. In this case, 0x643 is ERROR_INSTALL_FAILURE (1603), which is not a very information error code by itself.

We need to read the log file (or request additional logs) to figure out what failed. Steve Dower is the person to address this, since he has far more experience with the design and behavior of the installer. From what I can see on the surface, with my shallow knowledge, it failed to install core_JustForMe for some reason (probably there’s more info in another log), and then failed to delete the cached package when rolling back, with the error 0x80070003 (ERROR_PATH_NOT_FOUND), which looks suspicious.

I’m reopening for now. Feel free to close it again if you disagree. I won’t press the matter.

Источник

Русские Блоги

Решение серьезной ошибки в Python installation_0x80070643 — при установке произошла серьезная ошибка

Решение серьезной ошибки в Python installation_0x80070643 — при установке произошла серьезная ошибка

Сообщение читателям

Когда вы видите это, поздравляю, вы, вероятно, установили и удалили каждую версию Python N раз. Изначально я бросился на Python с энтузиазмом. Я не ожидал, что люди скажут, что самый полезный Python - это как * в наших руках. Установите сомневаться в жизни. Во-первых, я просто беленький. Я установил Python, чтобы изучать НЛП. Я установил несколько версий. В общем, я столкнулся со всеми проблемами, с которыми мог столкнуться. Здесь отображается установка Python: _0x80070643-Во время установки произошла серьезная ошибка. Я искал в Интернете множество методов для решения этой проблемы, и я также пробовал, но почти все они бесполезны, а есть много других, которые я не могу понять. Прежде чем я был разочарован и готов переустановить систему, я случайно решил это, но не знаю почему, но оно было решено, поэтому я хочу поделиться с вами, это очень просто. 

Моя среда установки

Операционная система: Windows 8.1
Установите версию Python: Python2.7.16、Python3.6.8、Python3.7.2
инструкция по установке: Пользовательский каталог на диске D (например: D: \ Python \ Python37)

Скриншот ошибки

Alt

Alt

Вышеуказанная ошибка появляется в процессе установки всех версий Python.

Возможные причины ошибок

Эта ошибка, вероятно, связана с ошибочным удалением важного файла на диске C. Я подумал, что на диске C слишком много мусора, поэтому я нашел небольшой код .bat в Интернете и попробовал его. На самом деле эффект очистки не очень хороший. С тех пор Python не может быть установлен. Раньше Python можно было устанавливать и удалять свободно.

Несправедливость и долг несут ответственность:

@echo off
echo очищает системные ненужные файлы, подождите .
del /f /s /q %systemdrive%*.tmp
del /f /s /q %systemdrive%*._mp
del /f /s /q %systemdrive%*.log
del /f /s /q %systemdrive%*.gid
del /f /s /q %systemdrive%*.chk
del /f /s /q %systemdrive%*.old
del /f /s /q %systemdrive%\recycled*.*
del /f /s /q %windir%*.bak
del /f /s /q %windir%\prefetch*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies*.*
del /f /q %userprofile%\recent*.*
del /f /s /q “%userprofile%\Local Settings\Temporary Internet Files*.»
del /f /s /q «%userprofile%\Local Settings\Temp*.

del /f /s /q “%userprofile%\recent*.*”
ЖЖ системы эхо-очистки готов!
echo. & pause

Откройте блокнот, назначьте и вставьте приведенный выше код, сохраните его как файл .bat (с именем вроде: LJ.bat, то есть garbage.bat, следовало бы подумать . ), поместите его на рабочий стол, дважды щелкните, чтобы запустить, и дождитесь конца.

Решение указанной выше ошибки

Это очень просто, выберите загруженный файл python .exe, щелкните правой кнопкой мыши, запустите от имени администратора, а затем настройте и установите обычным образом, и все в порядке! ! ! Это очень просто, хахахаха.

Alt

Alt

Alt

установка. . . .

Alt

Успешная установка

Alt

Вам нужно настроить его, и Python 3.6.8 и 3.7.2 в порядке.

Профессиональный тест, хвала! ! ! Спасибо за прочтение! ! !

Что касается причин вышеуказанных ошибок, пожалуйста, также попросите великих богов дать профессиональные объяснения.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can’t install Python v3.9.4 / 0x80070643 / windows 10 64bit #88149

Can’t install Python v3.9.4 / 0x80070643 / windows 10 64bit #88149

3.9 only security fixes topic-installation type-crash A hard crash of the interpreter, possibly with a core dump

Comments

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

assignee = None closed_at = Date 2021-09-11.10:59:06.322> created_at = Date 2021-04-30.03:56:37.885> labels = ['expert-installation', '3.9', 'type-crash'] title = "Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit" updated_at = Date 2021-09-11.10:59:06.321> user = 'https://bugs.python.org/Marwan'
activity = Date 2021-09-11.10:59:06.321> actor = 'iritkatriel' assignee = 'none' closed = True closed_date = Date 2021-09-11.10:59:06.322> closer = 'iritkatriel' components = ['Installation'] creation = Date 2021-04-30.03:56:37.885> creator = 'Marwan' dependencies = [] files = ['50000', '50003'] hgrepos = [] issue_num = 43983 keywords = [] message_count = 12.0 messages = ['392378', '392533', '392560', '392561', '392691', '392703', '392710', '392712', '392716', '392741', '392785', '401637'] nosy_count = 8.0 nosy_names = ['terry.reedy', 'paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'iritkatriel', 'shreyanavigyan', 'Marwan'] pr_nums = [] priority = 'normal' resolution = None stage = 'resolved' status = 'closed' superseder = None type = 'crash' url = 'https://bugs.python.org/issue43983' versions = ['Python 3.9']

The text was updated successfully, but these errors were encountered:

Marwan mannequin added 3.9 only security fixes topic-installation type-crash A hard crash of the interpreter, possibly with a core dump labels Apr 30, 2021

The error message suggests somethng else is using something in an existing 3.9 directory, and that you should close everything and reboot your machine and try again without running anything else.

Hello Terry, thank you for replying.
I tried many times to reboot and no luck.
Also i noticed that when i tried to install an older version like Python 2 the installation done without errors.

Also if you are talking about the location of installation, i tried to install it in somewhere else and still not working

Can someone help please, i need it in my project

If you look in your %TEMP% directory for the log file you attached, you’ll find some more similar log files. Could you attach those as well? One of them will have the actual issue in it.

Done, i uploaded a rar with all the log files in %TEMP%

Hello Shreyan,
unfortunately still not working, I tried all the solutions and none worked. still showing the same error.

This is the full error message (and sorry I just saw that you put it on pastebin in the first post).

MSI (s) (18:04) [13:13:04:342]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash
MSI (s) (18:04) [13:13:04:342]: Note: 1: 2203 2: C:\Windows\Installer\SourceHash 3: -2147023504
MSI (s) (18:04) [13:13:04:342]: SECREPAIR: Error in CreateDatabase for write
MSI (s) (18:04) [13:13:04:342]: SECUREREPAIR: SecureRepair Failed. Error code: 89b55C5DDD8

This file isn’t ours, so there’s nothing we can do. You could try running some of the builtin troubleshooters, or perhaps the «sfc /scannow» command (in an elevated prompt) might help. It’s possible that you have an aggressive antivirus or admin policy that you may be able to disable. Otherwise, for a corrupt install database, I’d guess you’re looking at a Windows reset/reinstall.

If you have any success, please let us know what worked. If it turns out to be something within our control, we can try and make a change, but I suspect it’ll just be handy to know for next time someone hits an issue like this.

Источник

Ошибка 0x80070643 при установке Python

Начал проходить курс на Stepik «Поколение Python»: курс для начинающих. В одном из самых первых заданий предлагают установить Python на Windows.

  1. Переходишь на сайт python.org
  2. Из Downloads скачиваешь последнюю версию (в моем случае версия 3.11.3 для 64-разрядной версии операционной системы)
  3. Запускаешь установку
  4. Не забываешь отметить галочкой пункт Add Python 3.x to PATH
  5. Нажимаешь Install Now и ждешь окончания установки.

По факту получаем следующее:

Попробовал несколько раз запустить — тоже самое. Ни установка всех последних обновлений Windows, ни перезагрузка ноутбука, ни загрузка предыдущей версии Python не помогли. В лог-файле значилась ошибка Error 0x80070643: Failed to install MSI package.

Пришлось лезть в гугл. Советовали проверить целостность системных файлов командой sfc /scannow в Командной строке.

Программа даже что-то обнаружила и восстановила поврежденные файлы. Я уже обрадовался и на всякий случай еще раз перезагрузил систему. Попытался установить Python. Но нет, все та же ошибка — Error 0x80070643. На англоязычном Stackoverflow предлагали проверить операционку программой DISM, но она ошибок не нашла.

Решил искать решение ошибки 0x80070643 без привязки к Python. В итоге помогли следующие действия:

1. Удалил все папки и файлы в этом каталоге

2. Также удалил все папки и файлы из этого скрытого каталога

3. На всякий пожарный, опять перезагрузил Windows.

Попробовал запустить установку последней версии Python, отметил галочкой пункт про PATH, нажал Install Now и, о чудо, все установилось!

Надеюсь, кому-нибудь этот способ тоже поможет исправить данную ошибку и успешно установить последнюю версию Python. Подписывайтесь на мой канал в телеге — Pythonka , давайте изучать Python вместе!

Источник

Читайте также:  Breaking line in javascript
Оцените статью