При установке python выдает ошибку

Подскажите, пожалуйста, что это за ошибка и как его исправить?
Пытался установить Python 3.9.0 на Windows 7 (Максимальная), но перед установкой (при запуске установщика) мне выдаёт такую ошибку:
Скриншот

Вот лог:

[14F4:1554][2020-11-07T14:02:51]i001: Burn v3.11.1.2318, Windows v6.1 (Build 7601: Service Pack 1), path: C:WindowsTemp{E3759934-CA2D-42C9-AFAB-D4D618024946}.crpython-3.9.0-amd64.exe
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'ActionLikeInstalling' to value 'Installing'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'ActionLikeInstallation' to value 'Setup'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'ShortVersion' to value '3.9'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'ShortVersionNoDot' to value '39'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'WinVer' to value '3.9'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'WinVerNoDot' to value '39'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'InstallAllUsers' to value '0'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'InstallLauncherAllUsers' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'TargetDir' to value ''
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'DefaultAllUsersTargetDir' to value '[ProgramFiles64Folder]Python[WinVerNoDot]'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'TargetPlatform' to value 'x64'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'DefaultJustForMeTargetDir' to value '[LocalAppDataFolder]ProgramsPythonPython[WinVerNoDot]'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'OptionalFeaturesRegistryKey' to value 'SoftwarePythonPythonCore[WinVer]InstalledFeatures'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'TargetDirRegistryKey' to value 'SoftwarePythonPythonCore[WinVer]InstallPath'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'DefaultCustomTargetDir' to value ''
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'InstallAllUsersState' to value 'enabled'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'InstallLauncherAllUsersState' to value 'enabled'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'CustomInstallLauncherAllUsersState' to value '[InstallLauncherAllUsersState]'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'TargetDirState' to value 'enabled'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'CustomBrowseButtonState' to value 'enabled'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_core' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_exe' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_dev' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_lib' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_test' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_doc' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_tools' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_tcltk' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_pip' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_launcher' to value '-1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'Include_launcherState' to value 'enabled'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_symbols' to value '0'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Include_debug' to value '0'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'LauncherOnly' to value '0'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'DetectedLauncher' to value '0'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'DetectedOldLauncher' to value '0'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'AssociateFiles' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'Shortcuts' to value '1'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'PrependPath' to value '0'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'CompileAll' to value '0'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing numeric variable 'SimpleInstall' to value '0'
[14F4:1554][2020-11-07T14:02:51]i000: Initializing string variable 'SimpleInstallDescription' to value ''
[14F4:1554][2020-11-07T14:02:51]i009: Command Line: '-burn.clean.room=C:UsersUserDesktoppython-3.9.0-amd64.exe -burn.filehandle.attached=180 -burn.filehandle.self=188'
[14F4:1554][2020-11-07T14:02:51]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:UsersUserDesktoppython-3.9.0-amd64.exe'
[14F4:1554][2020-11-07T14:02:51]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:UsersUserDesktop'
[14F4:1554][2020-11-07T14:02:51]i000: Setting string variable 'WixBundleLog' to value 'C:UsersUserAppDataLocalTempPython 3.9.0 (64-bit)_20201107140251.log'
[14F4:1554][2020-11-07T14:02:51]i000: Setting string variable 'WixBundleName' to value 'Python 3.9.0 (64-bit)'
[14F4:1554][2020-11-07T14:02:51]i000: Setting string variable 'WixBundleManufacturer' to value 'Python Software Foundation'
[14F4:1554][2020-11-07T14:02:51]i000: Setting numeric variable 'CRTInstalled' to value 1
[14F4:05E8][2020-11-07T14:02:51]i000: Did not find C:UsersUserDesktopunattend.xml
[14F4:05E8][2020-11-07T14:02:51]i000: Setting string variable 'ActionLikeInstalling' to value 'Installing'
[14F4:05E8][2020-11-07T14:02:51]i000: Setting string variable 'ActionLikeInstallation' to value 'Setup'
[14F4:05E8][2020-11-07T14:02:51]i000: Setting version variable 'WixBundleFileVersion' to value '3.9.150.0'
[14F4:05E8][2020-11-07T14:02:51]e000: Detected Windows 7
[14F4:05E8][2020-11-07T14:02:51]e000: Windows 8.1 or later is required to continue installation

Danis's user avatar

Danis

19.2k5 золотых знаков20 серебряных знаков55 бронзовых знаков

задан 7 ноя 2020 в 11:10

Dmitriy Makarov's user avatar

Dmitriy MakarovDmitriy Makarov

391 золотой знак1 серебряный знак5 бронзовых знаков

1

В логах четко написано, что у тебя вин7, а надо 8 и выше.

[14F4:05E8][2020-11-07T14:02:51]e000: Detected Windows 7
[14F4:05E8][2020-11-07T14:02:51]e000: Windows 8.1 or later is required to continue installation

ответ дан 7 ноя 2020 в 11:17

USERNAME GOES HERE's user avatar

USERNAME GOES HEREUSERNAME GOES HERE

10.3k21 золотой знак25 серебряных знаков52 бронзовых знака

последняя версия, которая реально запускается на 7-ке, — это 3.4.2

ответ дан 10 июл 2021 в 21:48

user451215's user avatar

Если тебе нужна именно 3.9.0 и не раньше то… VMware/VirtualBox в студию. Я лично воспользовался версией 3.8.10 (норм поставилась на Win7) не смотря на то что про инструкции нужна более высшая. И могу сказать норм, свою работу делает

ответ дан 6 янв 2022 в 19:56

ak__'s user avatar

I managed to fix all this Python cringe by doing this:

Download newest version of Python for your version after the first point. In this case it’s Python 3.6, so I downloaded the latest available — 3.6.8:

https://www.python.org/downloads/release/python-368/

Run it.

Check the checkbox «Add Python to Path»:
enter image description here

Press on the Custom Installation button:
enter image description here

Press Next:

enter image description here

Install:

enter image description here

It should install. Now go to Control PanelProgramsPrograms and Features, press RMB and uninstall:
enter image description here

Now run your wanted Python 3.6.X installation again.

If it still gives you the «A newer version of the Python launcher is already installed», run the latest installer again as in all the previous steps, but instead, check the «Install for All Users» checkbox:

enter image description here

Then uninstall this latest version again.
And then install your wanted Python 3.6.X installation again.

I’m throwing hands in the air, personally

enter image description here

I had to do it just now for 3.6, 3.7, 3.8, 3.9 and 3.10 versions because I had problems with uninstalling and installing with errors «no python installation was detected» and «A newer version of the Python launcher is already installed». Why do I have all these different versions of Python? Because different programs want different versions of Python installed and refuse to work with any other(lmao).

World would be a better place without Python.

Got the same error after lot of research i found the below thing…It works like a charm..100% worked for me

First…Make sure to check the setup package for your system that is X86 or x64, download packages based on the system before you proceed, otherwise the hack wont work. The below is explained for x64 bit windows 8.1 system with a 64 bit Python setup package use the below mentioned setup name(.exe file) in Step1: and search in google for downloading the Python setup

if the following error comes while installing Python 3.5.0 Setup in windows 8.1 64 bit Operating Sys- Error 0x80240017: Failed to configure per-machine MSU package

Start CMD as Admin, after that

Step1: ~YourFilePath/python-3.5.0-amd64.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0

Step2: ~YourFilePath/python-3.5.0-amd64.exe

~YourFilePath stands for the location of the python-3.5.0-amd64.exe file in your PC Example: E:Softwarespython-3.5.0-amd64.exe

now after executing the Step2: the setup will run without any errors….. Cool….

The above mentioned steps should work or else If you find any difficulties please visit here which explains the process in detail. Good Luck…

I’ve tried running as admin and with the three different installers on the site.

Содержание

  1. 8 Answers 8
  2. Not the answer you’re looking for? Browse other questions tagged python installation failed-installation or ask your own question.
  3. Linked
  4. Related
  5. Hot Network Questions
  6. Subscribe to RSS
  7. Python setup failed windows 7
  8. Решение проблем установки С Python 3.4 в Windows
  9. 11 ответов
  10. Fix: ‘Command “python setup.py egg_info” failed with error code 1’ When Installing Python
  11. Check if your pip and setuptools are Installed Correctly
  12. Upgrade setuptools
  13. Upgrade pip
  14. Try to Install the ez_setup
  15. Установка Python на Windows
  16. Рассмотрим установку языка программирования на Windows Server 2012, хотя установка на Windows 7, Windows 10 будет типовой.

8 Answers 8

Solution that worked for me:

13Fpq

It is throwing that error because it is trying to install that KB (2999.. something) and failing. If you try to install that KB yourself, it might fail too, as it has some minimum OS requirements. In my case, it was Service Pack 1 for Windows 7. After installing Service Pack 1 I was able to install Python 3.5.x fine.

PNguN

I collected the required update packages to install python on win 8.1 This topc is related to the following one as well:

Python install failed windows 8.1- Error 0x80240017: Failed to execute MSU package

the packages (I did not check the subset of packages, but if you install the all, python can be installed. There are some packages that requires another one before install, the required one is listed here as well. So if the install says «this upgrade is not suitable for this machine» just go on, install other packages, and when you finished, install the remaining packages that you were not able to install before.

As it can be seen I used win 8.1 x64. The total size of these packages is about 1 GB. These all are downloadable from microsoft update center.

I am also using win 7 home premium SP1 and encountered this problem, I solved it by:

Go the Windows Update in the Control Panel

Search for the installed update named KB2999226

Uninstall that update

Honestly, use this method at your own risk as I am just a newbie in programming and have no idea what that Windows Update was for. But I did it anyways.

Details on KB2999226 (https://support.microsoft.com/en-us/kb/2999226). It looks like repairing Visual Studio corrects issues with CRT. Someone correct me if Im wrong.

Just in case are facing it with Windows 7 for PCs:

Very simple, reinstall Windows Service Pack and repair the Visual C++ Redistributable and bingo, the error disappears.

In case of difficulties, uninstall all the software involved (Visual C++, etc.) and reinstall as the proper sequence.

U0oyt

In my case, I have an application installed in my computer which has python installation in it. I was not able to search it from normal PC search. Just try installing «everything» software if you have complex installation of software like me.

Once you get the path for python installation, add this path to environment (System’s) variable and you are good to go.

Click Download button and Scroll down to see all files

Select windows6.1-KB976932-X86.exe (32-bit) or windows6.1-KB976932-X64.exe (64-bit).

Install this and then install Python

photo

Not the answer you’re looking for? Browse other questions tagged python installation failed-installation or ask your own question.

Linked

Hot Network Questions

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2022 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2022.11.1.40614

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

Python setup failed windows 7

1*yKjCovraBgDGC cs vmigw

Aug 9, 2019 · 2 min read

Python Installation Error on Windows 7: Setup Failed

So today while installing python 3.7.4 on my PC the installer showed me an error.

1*dtOXKdqblY5Figzkzbi JA

To fix this I did some internet research and found an easy solution. Follow the steps and you will solve this problem in no time!

1* oefsMp5E2GMWI0b1g7jeQ

2. Close the window and press ‘ Windows + r‘ (you can find the windows key on your keyboard).

3. It will open up a small windows type ‘ regedit‘ and click ‘ ok’.

4. After pressing okay a window will pop up asking for User Account Control. Click ‘ yes’.

1*konDXGQD76BeOgp6iaFcpA

5. Re g istry Editor will show up. Scroll down and find SYSTEM>ControlSet001>Control>Windows.

1*VDZiMWfJL29G1gI6CLWTFw

6. Inside windows folder you will find a file named ‘ CSDVERSION’.

7. Right click on CSDVERSION and select ‘ Modify’.

1*O9Ca679bTLTPQ0O33ha5VA

8. Remove 0 from ‘value data’ and type 100.

1*we4M3vzDP4Q18be8Pc4MEw

9. Click ok and restart your PC.

That’s it! After restarting you PC you can easily install python.

Источник

Решение проблем установки С Python 3.4 в Windows

недавно я попытался установить Python 3.4 в качестве альтернативной установки в моей системе, пытаясь ознакомиться с собой перед миграцией кода. Моя основная установка Python-2.7.6.

Я попробовал 64-битный установщик для Windows, но он придумал сообщение об ошибке

существует проблема с этим пакетом установщика Windows. Программа, запущенная в рамках установки, не завершилась должным образом. Обратитесь в службу поддержки или пакет торговец.

после этого установка откатывается (с точки, показанной ниже):

8d78efb828783f88a2658e51ebbba6ee

в конце концов я нашел решение для этого, опубликованного ниже, и решил поделиться, если у кого-то еще была такая же проблема.

11 ответов

после некоторого поиска в Интернете я нашел (здесь), что проблема связана с конфликтующими установками pip (у меня уже установлена версия для Python 2.7, и, по-видимому, это несовместимо с версией, которая поставляется с Python 3.4.

чтобы обойти эту проблему, я просто отключил pip от параметров установки, показанных ниже, и установка прошла гладко:

30a465604c2cdc58187b07df00cb6676

запустите программу установки еще раз и выберите PIP установка.

Если PIP не удается установить с той же ошибкой, вы можете проверить переменные среды с помощью такого инструмента, какhttp://eveditor.com/ что позволяет проверить, являются ли они действительными. Если у вас была установлена другая версия, скорее всего, у вас неправильные переменные PYTHONHOME и PYTHONPATH. Исправьте их, установив соответствующие пути. например, PYTHONHOME=C:python27 и PYTHONPATH=c:python27Lib

затем вы сможете запустить и установить ОЧКО.

моя проблема заключалась в том, что у меня был набор переменных среды PYTHON_HOME или PYTHON_SOMETHING. После удаления переменной среды установка работала отлично.

решение «отменить выбор pip» не сработало для меня.

моя установка Python 3.4.1 не удалась с той же ошибкой «программа, запущенная как часть установки, не завершилась должным образом». Я попытался установить его поверх Python 3.4.0 и установить его в новую папку, но получил ту же ошибку. Сначала я попытался удалить Python 3.4.0, но получил ошибка во время удаления, а также.

Я запустил эту утилиту Microsoft, которая помогла мне удалить 3.4.0, а затем смогла установить 3.4.1 чисто. Утилита имеет опции как для проблемных установок, так и для удаления, поэтому она может помочь, даже если вы делаете новую установку, а не обновление.

Я запускаю 64-разрядную Windows 7, но работал с 32-разрядными версиями Python.

У меня были аналогичные проблемы с Python 3.4 x в Windows 8.1. Даже после успешной установки, деинсталлятор не удастся таким же образом. В конечном счете, «метод 1» на форуме MS решил это для меня, когда я запустил Microsoft (Un)installer исправить это.

У меня также была проблема, что pip не может быть установлен как @ChrisPosser.

поэтому я снял выбор pip, и установка прошла нормально. после этого я перезапустил установку, выбрал «изменить python» и установил pip. теперь все работало, как и ожидалось.

Если у вас есть какие-либо проблемы с установщиками windows, я рекомендую активировать подробный журнал следующим образом:

из журналов я видел, что это была установка pip, которая не работала.

этот трюк сработал для меня:

вручную удалил папку 3.4.1, которая присутствовала в моих папках C после установки 3.4.1

затем я сделал следующие шаги:

перезагрузил систему, и теперь нет экземпляра в Python 3.4.1 в моей системе.

Да, я уже установил другую версию Python. Я удалил их, используя функции программы. Но все же та же проблема сохранялась из-за папки, которая присутствовала в моем диске C:. После удаления их вручную, установка была завершена без ошибок

Я столкнулся с этой проблемой из-за 2 конфликтующих версий 7zip. Удаление их обоих и установка только одного исправлена эта проблема.

У меня был python3.4 установлен, затем добавлен 3.5 и удален 3.4. Это было ошибкой. Пытаясь заставить библиотеку работать, я должен был вернуться к 3.4. Я удалил 3.5, но не смог удалить 3.4 (папка удалена).

Я закончил поиск реестра в rededt32 для «python». Была папка Guid с несколькими записями, которые имели c:python34 и еще один, связанный с той же папкой, которую я удалил. После этого установка работала правильно.

мой был связан с установкой более старой версии в прошлом, только для моей собственной учетной записи пользователя. Я обошел его, сказав установщику установить Python для всех пользователей.

Источник

Fix: ‘Command “python setup.py egg_info” failed with error code 1’ When Installing Python

The error code 1 is defined as Operation not permitted in python standard errno system symbols. This issue is mostly caused when your setuptools do not appear to be installed or updated. In this article, we have provided the methods that solved the issue for most users regarding this particular error.

introError code 1 in python

Before updating you should check if the pip and setuptools are installed on your system. It also shows the version numbers for both. You can find out if your pip or setuptools version is out of date due to which you are having the error issue. Follow the below steps to check the installed versions:

If the setuptools is already installed, then try updating it to the newest version. You can try the following steps to update your setuptools.

Note: If you are on Terminal, make sure to add the “sudo” before the command.

Upgrade pip

Sometimes the issue resides in the pip itself. You can upgrade pip to fix the issue. You can follow the below steps to upgrade pip:

Try to Install the ez_setup

Some users got their issues fixed by installing the ez_setup module. Sometimes the module missing from your system can cause the issue. Installing it resolved the issue for many users. Follow the below steps:

Источник

Установка Python на Windows

Рассмотрим установку языка программирования на Windows Server 2012, хотя установка на Windows 7, Windows 10 будет типовой.

Итак, для установки нам потребуется дистрибутив Python версию которой выбираем и скачиваем по ссылке: https://www.python.org/downloads/

01 python Скачать Python для windows

Выбираем установку для всех пользователей:

02 python Выбираем установку для всех пользователей

Выбираем директорию для установки, я оставляю по умолчанию C:Python27:

03 python Выбираем директорию для установки

Далее по умолчанию нажимаем NEXT, NEXT до окончания установки:

04 python finish Окончание установки Phyton

Теперь необходимо проверить добавился ли путь для командной строки.

В диспетчере задач нажимаем Run new task:

05 run new task Запускаем новую задачу Run new task

Набираем cmd и жмем ENTER:

06 cmd Запускаем окно терминала

В окне терминала набираем python и жмем Enter, если выдаст информацию, то на этом инсталляция закончена.

У меня, как всегда, просто не получается и python выдает ошибку:

07 python error ‘python’ is not recognized as an internal or external command, operable program or batch file

В этом же окне терминала набираем sysdm.cpl и попадаем в System Properties:

08 sysdm.cpl Набираем sysdm.cpl – Enter

Теперь нужно зайти в закладку Advanced и нажать кнопку Environment Variables:

Редактируем Path, добавляем в конце через точку с запятой путь куда установили Python, у меня это выглядит так – ;C:Python27:

10 system properties Открываем Path 11 c python27 Дописываем пути ;C:Python27

Теперь пробуем прописать python, но сделать это нужно в новом окне терминала, который подтянет наши записи:

11 cmd python ok Python 2.7.14 установлен

Вот теперь установка Python закончена и можно работать.

Источник

Installation Error Python 2x & 3x .msi packages (Windows7 Ultimate amd64 OS)

… After a reinstall of my OS and basic apps e.g., AV, notepad ++, etc… I downloaded the Python .msi’s for 2.7.2 amd64bit and tried to install it. It showed this error:

  • Python 2.7.2 (64-bit) Setup

    • An error occurred during the installation of assembly ‘Microsoft.VC90.CRT,version=»9.0.21022.8″,publicKeyToken=»1fc8 b3b9a1e18e3b»,processorArchitecture=»amd64″,type=»win32″‘. Please refer to Help and Support for more information.

… After clicking OK the installation is aborted and the changes rolled back. I tried various versions all had either the same error or another error stating that something in the download was corrupted. I generated MD5 hashes for each .msi and checked them with list on the website they all matched. I tried checking for compatibility issues and that resulted in skipping version checks. This also did nothing to fix the problem.

  • The only way to stop the rollback was to use the Task Manager to ‘End Task’ on the install. This has allowed me to keep Python on my system. I haven’t had any perceivable ill effects from having done this and as of yet the Python install seems to be fine and works properly. I have posted this for anyone else that has run into this same problem and has been unable to solve it. Also if there is another way to fix the problem properly rather than ripping the installers plug out of the wall so to speak then please let me know. Thanks and I hope this helps rather than hinders. Have a great day

CategoryAskingForHelp

Asking for Help/Installation Errors (last edited 2011-11-01 20:40:59 by S01060026f3041ccf)

Понравилась статья? Поделить с друзьями:
  • При установке postgresql выдает ошибку
  • При установке point blank выдает ошибку 400
  • При установке origin выдает ошибку vcruntime140 dll
  • При установке oracle express edition возникли ошибки
  • При установке homefront the revolution ошибка