Whenever I try to install Python 3.6.3 (32-bit) to my Windows 7 laptop at work, the installer fails with the following error.
0x80070642 — User cancelled installation
This error consistently occurs half-way through the installation while installing «Python 3.6.3 Standard Library (32-bit)», as indicated by Python’s progress bar turning red in the taskbar icon.
Looking at the installer log, I noticed a few entries which report Failed to secure cache path:, but searching these errors hasn’t provided any additional details.
Error 0x80070005: Failed to secure cache path: C:ProgramDataPackage Cache
Error 0x80070005: Failed to secure cache directory: C:ProgramDataPackage Cache
Error 0x80070005: Failed to get cached path for package with cache id: {C093353B-F9EE-4A06-923D-C1B340B82886}v3.6.6119.0
Error 0x80070005: Failed to cache payload: launcher_AllUsers
Failed to cache payload: launcher_AllUsers from working path: C:UsersSVASCE~1AppDataLocalTemp{973D88A7-E2AD-4A3C-AA24-79C5637B217A}launcher_AllUsers, error: 0x80070005.
New issue
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
Closed
GarethMoger mannequin opened this issue
Oct 26, 2017
· 2 comments
Comments
| BPO | 31875 |
|---|---|
| Nosy | @pfmoore, @tjguk, @zware, @zooba |
| PRs |
|
| Files |
|
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None closed_at = <Date 2021-10-19.22:44:16.526> created_at = <Date 2017-10-26.14:16:27.789> labels = ['OS-windows'] title = 'Error 0x80070642: Failed to install MSI package.' updated_at = <Date 2021-10-19.22:44:16.525> user = 'https://bugs.python.org/GarethMoger'
bugs.python.org fields:
activity = <Date 2021-10-19.22:44:16.525> actor = 'steve.dower' assignee = 'none' closed = True closed_date = <Date 2021-10-19.22:44:16.526> closer = 'steve.dower' components = ['Windows'] creation = <Date 2017-10-26.14:16:27.789> creator = 'Gareth Moger' dependencies = [] files = ['47240', '47241'] hgrepos = [] issue_num = 31875 keywords = ['patch'] message_count = 2.0 messages = ['305058', '404370'] nosy_count = 5.0 nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'Gareth Moger'] pr_nums = ['4458'] priority = 'normal' resolution = 'out of date' stage = 'resolved' status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue31875' versions = ['Python 3.6']
Copy link
Mannequin
Author
I had my work computer re-imaged this week but Python 3.6.1 is gone and I am unable to install.
I have tried to completely remove it with CCleaner and any other references I found but it still will not install. I am installing the same version as before.
Following the advice from another post, I installed on another machine and then copied the folder onto my work machine but was unable to uninstall/repair as described.
Attached is the log file.
We’d also need the other log files from %TEMP% in this case, but I suspect we’re not going to get them now.
The associated PR is not related to this bug.
2 participants
Issue31875
Created on 2017-10-26 14:16 by Gareth Moger, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Files | |||
|---|---|---|---|
| File name | Uploaded | Description | Edit |
| Python 3.6.1 (32-bit)_20171026151143.log |
Gareth Moger, 2017-10-26 14:16 |
Installation log | |
| Python 3.6.1 (32-bit)_20171026151143.log |
Gareth Moger, 2017-10-26 14:18 |
Install log |
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 4458 | open |
ncoghlan, 2017-11-19 05:57 |
| Messages (2) | ||
|---|---|---|
| msg305058 — (view) | Author: Gareth Moger (Gareth Moger) | Date: 2017-10-26 14:16 |
I had my work computer re-imaged this week but Python 3.6.1 is gone and I am unable to install. I have tried to completely remove it with CCleaner and any other references I found but it still will not install. I am installing the same version as before. Following the advice from another post, I installed on another machine and then copied the folder onto my work machine but was unable to uninstall/repair as described. Attached is the log file. |
||
| msg404370 — (view) | Author: Steve Dower (steve.dower) * ![]() |
Date: 2021-10-19 22:44 |
We'd also need the other log files from %TEMP% in this case, but I suspect we're not going to get them now. The associated PR is not related to this bug. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:53 | admin | set | github: 76056 |
| 2021-10-19 22:44:16 | steve.dower | set | status: open -> closed resolution: out of date messages: + msg404370 stage: patch review -> resolved |
| 2021-10-19 22:32:05 | iritkatriel | set | nosy: + paul.moore, tim.golden, zach.ware, steve.dower components: + Windows, — Installation |
| 2017-11-19 05:57:56 | ncoghlan | set | keywords: + patch stage: patch review pull_requests: + pull_request4395 |
| 2017-10-26 14:18:56 | Gareth Moger | set | files: + Python 3.6.1 (32-bit)_20171026151143.log |
| 2017-10-26 14:16:27 | Gareth Moger | create |
Всякий раз, когда я пытаюсь установить Python 3.6.3 (32-разрядный) на свой ноутбук под управлением Windows 7, программа установки не работает со следующей ошибкой.
0x80070642 — Отменена пользователем установка
Эта ошибка последовательно возникает на полпути через установку при установке «Стандартная библиотека Python 3.6.3 (32-разрядная версия)», о чем свидетельствует индикатор выполнения Python, красный цвет которого отображается на значке панели задач.
Глядя на журнал установщика, я заметил несколько записей, в которых сообщается о том, что не Failed to secure cache path: но поиск этих ошибок не предоставил никаких дополнительных сведений.
Error 0x80070005: Failed to secure cache path: C:ProgramDataPackage Cache
Error 0x80070005: Failed to secure cache directory: C:ProgramDataPackage Cache
Error 0x80070005: Failed to get cached path for package with cache id: {C093353B-F9EE-4A06-923D-C1B340B82886}v3.6.6119.0
Error 0x80070005: Failed to cache payload: launcher_AllUsers
Failed to cache payload: launcher_AllUsers from working path: C:UsersSVASCE~1AppDataLocalTemp{973D88A7-E2AD-4A3C-AA24-79C5637B217A}launcher_AllUsers, error: 0x80070005.
|
3 / 2 / 2 Регистрация: 10.12.2017 Сообщений: 65 |
|
|
1 |
|
|
22.09.2018, 20:38. Показов 14381. Ответов 2
Здравствуйте. Код [0FD4:042C][2018-09-22T19:57:28]e000: Error 0x80072f7d: Failed to send request to URL: https://www.python.org/ftp/python/3.7.0/amd64/core.msi, trying to process HTTP status code anyway.
[0FD4:042C][2018-09-22T19:57:28]e000: Error 0x80072f7d: Unknown HTTP status code 0, returned from URL: https://www.python.org/ftp/python/3.7.0/amd64/core.msi
[0FD4:042C][2018-09-22T19:57:28]e000: Error 0x80072f7d: Failed attempt to download URL: 'https://www.python.org/ftp/python/3.7.0/amd64/core.msi' to: 'C:WindowsTemp{E4DB6CBB-12CD-4E5E-83CF-507B49F5DD8E}core_AllUsers'
А вот лог executable installer: Код [1440:0C30][2018-09-22T20:22:26]e000: Error 0x80072f7d: Failed to send request to URL: https://www.python.org/ftp/python/3.7.0/amd64/core_pdb.msi, trying to process HTTP status code anyway.
[1440:0C30][2018-09-22T20:22:26]e000: Error 0x80072f7d: Unknown HTTP status code 0, returned from URL: https://www.python.org/ftp/python/3.7.0/amd64/core_pdb.msi
[1440:0C30][2018-09-22T20:22:26]e000: Error 0x80072f7d: Failed attempt to download URL: 'https://www.python.org/ftp/python/3.7.0/amd64/core_pdb.msi' to: 'C:WindowsTemp{DB9693B6-48BD-4C17-ABAA-8B5D293B40F2}core_AllUsers_pdb'
Что мне следует делать? Миниатюры
__________________
0 |
|
Programming Эксперт 94731 / 64177 / 26122 Регистрация: 12.04.2006 Сообщений: 116,782 |
22.09.2018, 20:38 |
|
Ответы с готовыми решениями: Установка Python
ОС: Windows 7 домашняя базовая SP1 (32bit) 2 |
|
1288 / 905 / 479 Регистрация: 05.12.2013 Сообщений: 3,037 |
|
|
22.09.2018, 21:32 |
2 |
|
Вы что скачали web-based installer? Попробуйте executable installer
0 |
|
5403 / 3827 / 1214 Регистрация: 28.10.2013 Сообщений: 9,554 Записей в блоге: 1 |
|
|
22.09.2018, 22:06 |
3 |
|
выдавало неизвестную ошибку Неизвестная ошибка это 0x80072f7d. Всегда ищите по номеру — гугл найдет все. Uninstall the corrupted Python installation. У меня была такая же фигня с установкой на win 8.1×64, которой я редко пользуюсь и поэтому мало обновлял. Тоже нагуглил по номеру ошибки какое обновление поставить и все решилось. Добавлено через 3 минуты Добавлено через 2 минуты
0 |
Установщик Python: «0x80070642 — установка отменена пользователем»
Stevoisiak
Опубликовано в
Dev
Stevoisiak
Всякий раз, когда я пытаюсь установить Python 3.6.3 (32-разрядный) на свой ноутбук с Windows 7 на работе, установщик выдает следующую ошибку.
0x80070642 — Пользователь отменил установку
Эта ошибка постоянно возникает на полпути установки при установке «стандартной библиотеки Python 3.6.3 (32-разрядная версия)», на что указывает красный индикатор выполнения Python на значке панели задач.
Просматривая журнал установщика , я заметил несколько записей, которые сообщают Failed to secure cache path:, но поиск этих ошибок не дал никаких дополнительных сведений.
Error 0x80070005: Failed to secure cache path: C:ProgramDataPackage Cache
Error 0x80070005: Failed to secure cache directory: C:ProgramDataPackage Cache
Error 0x80070005: Failed to get cached path for package with cache id: {C093353B-F9EE-4A06-923D-C1B340B82886}v3.6.6119.0
Error 0x80070005: Failed to cache payload: launcher_AllUsers
Failed to cache payload: launcher_AllUsers from working path: C:UsersSVASCE~1AppDataLocalTemp{973D88A7-E2AD-4A3C-AA24-79C5637B217A}launcher_AllUsers, error: 0x80070005.
Stevoisiak
Мне удалось устранить ошибку, сняв флажок « Установить средство запуска для всех пользователей ».
После снятия флажка установщик работал должным образом без каких-либо проблем.

Эта статья взята из Интернета, укажите источник при перепечатке.
Если есть какие-либо нарушения, пожалуйста, свяжитесь с[email protected] Удалить.
Отредактировано в2020-11-17

установка Python