While I am trying to install Python 3.6.1 it is showing Setup failed.. windows 7 service pack 1 and all applicable updates are required to install Python 3.6.1.
I am using windows 7 professional OS.
Waiting for a solution !!
asked Jun 1, 2017 at 7:03
1
Sometimes this type of error is showing while installing a certain application
(like Python) in the windows 7 platform.
For Solution, you have to install service pack 1 to your os. You can also install the service pack for windows manually as described below.
- Open regedit (By clicking windows+R key, type regedit and then click enter)
- Go to HKEY-LOCALMACHINE->SYSTEM->Control->Windows.
- open CSDVersion
- Set the value as you want(Like 100 for servicepack 1, 200 for servicepack 2)
and then click ‘Ok’. - Restart your PC
Now you can install application
answered Jan 31, 2020 at 13:17
2
Try to install Python 3.7.5 in Windows 7 service pack 1. It doesn’t require windows updates.
answered Jul 14, 2022 at 10:32
1
with windows 7 sp1 python 3.5.2 got successfully installed. Pls also chk if windows visual c++ 2015 redistributable is properly installed..
answered Jun 19, 2017 at 5:24
sabrangsabrang
191 gold badge1 silver badge3 bronze badges
Содержание
- Windows 7 service pack 1 and all applicable updates are required to install python
- 1. After downloading Python from the official website, Setup failed
- 2. After the last step of python installation, it prompts that api-ms-win-crt-runtime- | 1-1-0.dll is missing from the computer. Try to reinstall the program to resolve this issue
- 8 Answers 8
- Not the answer you’re looking for? Browse other questions tagged python installation failed-installation or ask your own question.
- Linked
- Related
- Hot Network Questions
- Subscribe to RSS
- Windows 7 service pack 1 and all applicable updates are required to install python
- Intelligent Recommendation
- Tocat 7 install Windows service
- Python win7 installation failed Service Pack 1
- IIS windows WAS service can not start Error 1 Incorrect function solution
- How to install English and Chinese language pack for Windows 7 Professional Edition
- C # Winform package installation program and install windows service pack
- Issues while installing Python 3.6 on Windows 7 : Service Pack 1 is required to continue installation
- 3 Answers 3
- Not the answer you’re looking for? Browse other questions tagged python windows-7 python-3.6 or ask your own question.
- Related
- Hot Network Questions
- Subscribe to RSS
- Windows 7 service pack 1 and all applicable updates are required to install python
- Intelligent Recommendation
- Tocat 7 install Windows service
- Python win7 installation failed Service Pack 1
- IIS windows WAS service can not start Error 1 Incorrect function solution
- How to install English and Chinese language pack for Windows 7 Professional Edition
- C # Winform package installation program and install windows service pack
Windows 7 service pack 1 and all applicable updates are required to install python
table of Contents
1. After downloading Python from the official website, 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.
Windows 7 Service Pack 1 and all applicable updates are required to install Python 3.7.5.(32-bit).
Please update your machine and then restart the installation.
The Windows system cannot be installed, and the SP1 package upgrade package needs to be installed. The download address of the upgrade package is: https://www.microsoft.com/zh-CN/download/details.aspx?id=5842
Download Instructions: According to my system version selection, my system is 32-bit, I chose windows6.1-KB976932-X86.exe
After the download is complete, the installation is basically all the way to the next step.
After downloading and installing, restart the system and install python3.7 again
2. After the last step of python installation, it prompts that api-ms-win-crt-runtime- | 1-1-0.dll is missing from the computer. Try to reinstall the program to resolve this issue
1. Go to Microsoft’s official website to download Visual C ++ Redistributable for Visual Studio 2015. click to download»
2. According to your computer system type, 64-bit download X64, 32-bit download X86
3. After downloading, double-click to run, check to agree, and click «install»
4. Enter Python in the cmd command window to test the Python version, if it still prompts that api-ms-win-crt-runtime- | 1-1-0.dll is missing
Источник
I’ve tried running as admin and with the three different installers on the site.
8 Answers 8
Solution that worked for me:
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.
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.
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
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.5.40661
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Источник
Windows 7 service pack 1 and all applicable updates are required to install python
Install Python Times in Windows 7 System, Tips: Setup Failed, specific content is One or More Issues Caused The setup to fail. Please fix the question and then retry setup. For mer INFORMATION See THD log file.windows 7 Service Pack 1 and All Applicable Updates Are Required To Install Python 3.8.0 (64-bit) Please update your machine and then restart the installation, as shown below:
This situation typically occurs on the Windows7 system, click on the log file to view the log file above, prompt to install the KB2533623.msu patch.
Although the log prompt is a KB2533625, Microsoft does not have this patch at all, actually use the KB2533623 patch to solve the problem. After the patch is hit, remember to restart, then install Python, it will succeed.
This patch can be downloaded Baidu, I also uploaded a copy on this website:
Intelligent Recommendation
Tocat 7 install Windows service
1. Recently I used to make a simple webpage, mainly showing SPEC, etc., but clicking startup.bat, there will be a black window, it is not good, so installing Tomcat 7 as a Windows service can be solve.
Python win7 installation failed Service Pack 1
Python installation failed: Service Pack 1 is required to continue installation Solution: By looking at the last line of the log file is: Service Pack 1 is required to continue installation Official w.
IIS windows WAS service can not start Error 1 Incorrect function solution
How to install English and Chinese language pack for Windows 7 Professional Edition
Download the corresponding language pack and run the downloaded exe file as an administrator. A lp.cab file will be generated next to the exe file. Hurry up and copy a copy of this lp.cab to put lp.ca.
C # Winform package installation program and install windows service pack
Here simply record what he notes. As to whether the reference to you, please read on their own. demand: 1. There are a WinForm program that requires installation of the production deployment 2. The ne.
Источник
Issues while installing Python 3.6 on Windows 7 : Service Pack 1 is required to continue installation
I am unable to install Python 3.6 on Windows 7 Professional Edition 32 bits the install dialog points me to the log file whose content is as follows:
3 Answers 3
Check the last line:
Why don’t you just install Service Pack 1? Here is the download link. https://www.microsoft.com/en-GB/download/details.aspx?id=5842
Yes, you must have to install Service Pack 1 in order to make it installed. or you have to continue your stuff with Python 2.7.
Download Service Pack 1 from the link suggested by @jerrycheng
Well, I faced the same issue while downloading and installing python 3.7.7 from the official website. But, soon I realized the Anaconda environment lets you update python easily without much effort.
If you have Anaconda preinstalled, then on cmd prompt, enter: conda update python which will update your existing version of python. I was able to update my python from 3.7.0 to 3.7.7.
Not the answer you’re looking for? Browse other questions tagged python windows-7 python-3.6 or ask your own question.
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.5.40661
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Источник
Windows 7 service pack 1 and all applicable updates are required to install python
Install Python Times in Windows 7 System, Tips: Setup Failed, specific content is One or More Issues Caused The setup to fail. Please fix the question and then retry setup. For mer INFORMATION See THD log file.windows 7 Service Pack 1 and All Applicable Updates Are Required To Install Python 3.8.0 (64-bit) Please update your machine and then restart the installation, as shown below:
This situation typically occurs on the Windows7 system, click on the log file to view the log file above, prompt to install the KB2533623.msu patch.
Although the log prompt is a KB2533625, Microsoft does not have this patch at all, actually use the KB2533623 patch to solve the problem. After the patch is hit, remember to restart, then install Python, it will succeed.
This patch can be downloaded Baidu, I also uploaded a copy on this website:
Intelligent Recommendation
Tocat 7 install Windows service
1. Recently I used to make a simple webpage, mainly showing SPEC, etc., but clicking startup.bat, there will be a black window, it is not good, so installing Tomcat 7 as a Windows service can be solve.
Python win7 installation failed Service Pack 1
Python installation failed: Service Pack 1 is required to continue installation Solution: By looking at the last line of the log file is: Service Pack 1 is required to continue installation Official w.
IIS windows WAS service can not start Error 1 Incorrect function solution
How to install English and Chinese language pack for Windows 7 Professional Edition
Download the corresponding language pack and run the downloaded exe file as an administrator. A lp.cab file will be generated next to the exe file. Hurry up and copy a copy of this lp.cab to put lp.ca.
C # Winform package installation program and install windows service pack
Here simply record what he notes. As to whether the reference to you, please read on their own. demand: 1. There are a WinForm program that requires installation of the production deployment 2. The ne.
Источник
содержание
1. Python После того, как официальный сайт загружен, настройка не удалась при установке.
2. Python устанавливается на последнем этапе, что подписывает API-MS-WIN-CRT-RUNTIMETTE — | 1-1-0.dll в компьютере. Попробуйте переустановить программу, чтобы разрешить эту проблему
1. Python После того, как официальный сайт загружен, настройка не удалась при установке.
One or more issues caused the setup to fail.Please fix the issues and then retry setup.For more information see the log file.
Windows 7 Service Pack 1 and all applicable updates are required to install Python 3.7.5.(32-bit).
Please update your machine and then restart the installation.
Не может быть проблемой системы Windows, вам необходимо установить пакет обновления пакета SP1, обновляющую пакет обновления Адрес: https://www.microsoft.com/zh-/download/details.aspx? ID = 5842
Инструкция загрузки: в соответствии с нашей собственной системой версию, моя система 32 цифр, я выбрал Windows 6.1-KB976932-X86.exe
Загрузка Завершение Начните установку в основном все способы следующего шага
После загрузки перезагрузите систему, установите Python3.7 снова.
2. Python устанавливается на последнем этапе, что подписывает API-MS-WIN-CRT-RUNTIMETTE — | 1-1-0.dll в компьютере. Попробуйте переустановить программу, чтобы разрешить эту проблему
1. Введите официальный веб-сайт Microsoft для скачивания Visual C ++ Redistributable для Visual Studio 2015. Нажмите для скачивания »
2, в соответствии с собственным типом компьютерной системы, 64-битный скачать x64,32 Скачать x86
3, загрузите его, дважды щелкните, чтобы запустить, проверьте соглашение, нажмите «Установить»
4. Введите версию Python Python Python в окне команд CMD. Если он по-прежнему предлагается потерять API-MS-Win-CRT-RUNTIME — | 1-1-0.dll
Win7 Установите UG12.0 API-MS-Win-Crt-Runtime-L1-1-0.dll потерял окончательное решение
As we all known that, Currently, PYTHON is the most popular language on this planet. Due to its high compatibility with other language and easy coding structure. It is widely used for many application related to Artificial Intelligence, Web Development, Data Analytics, High End 3D Games, Android and many more.
Because of its high popularity and easy acceptance, many developer or student are trying to learn Python language.
However, Microsoft Officially Ends support for Windows 7 operating system but still large number of population are using windows 7 on their desktop pc.
so when they install python on windows 7 one commonly known error terminates the setup with below message.
Windows 7 Service Pack 1 & all updates are required to install Python
which is so frustrating because solution for this error makes you download 500MB to 900MB Update file based on your system 32 bit/64 bit architecture.
but I’m sure after reading this article, you will be able to solve this Python Windows 7 Service Pack 1 error. so lets see how to solve python windows 7 service pack 1 error.
How To Solve Python Windows 7 Service Pack 1 Error
1. First download Python Latest Version From Here.
Note: we cannot install Python 3.9.2 on windows 7.
After downloading, just double click to install Python. If everything alright then it will install in your system but if it gives
Python Windows 7 Service Pack 1 error during install just download below update file according to your system 32bit or 64bit architecture.
To check whether system is on 32bit or 64bit architecture —
Go to My Computer >> Right Click >> Properties >> check System Type 32bit or 64 bit.
Now after confirmation, Download Update File From Below Link
For Windows 7 (32bit) (1 MB)-
https://drive.google.com/file/d/1qHae92Il3KNZgOToaRfIB0JivZCGeS9h/view?usp=sharing
For Windows 7 (64bit) (2 MB)—
https://drive.google.com/file/d/1tj80Sb4SvdoWjVpWVTG5uWf31nqEVeQ-/view?usp=sharing
Note : — AFTER INSTALLING UPDATE FILE, RESTART YOUR SYSTEM.
These are the official windows 7 update file, so it will not harm your system. Just Install and Enjoy Python Programming.
But Even after installing these update file, if you still getting this Python Windows 7 Service Pack 1 error then you can follow one of these below steps:
— JUST INSTALL WINDOWS 7 FRESH COPY ON YOUR SYSTEM. (recommended)
— Or Download Full Service Pack Update File based on your System Type.
For Windows 7 (32 bit) (538 MB)-
https://drive.google.com/file/d/1Vfm7PSQUqdin2oWDdzKIFlT1klxn4btU/view?usp=sharing
For Windows 7 (64 bit) (903 MB)-
https://drive.google.com/file/d/1seGjTpY-1wzfDIRnlDt8HZQl3Nu5XCZ7/view?usp=sharing
Video Tutorial:
Conclusion: —
Main reason behind this error is python developer does not provide support For Windows 7 Update File (Windows6.1-KB2533623). This is the main update file that will solve this problem. Hope This post helps you to solve this python windows 7 service pack 1 error for all. so what are you waiting for just share this post with your friends or with student or with Python learner whoever getting this error.
For Now This is #BharatSharma signing off. Thank You…Enjoy Python..!!
HEY GUYS ONE SMALL REQUEST TO ALL OF YOU, JUST NEED YOUR SUPPORT TO GROW MY YOUTUBE CHANNEL #TECHVIGYAAN, IF YOU LIKE MY WORK, PLEASE SUBSCRIBE TO OUR CHANNEL, THANK YOU…!!
I’ve tried running as admin and with the three different installers on the site.
Содержание
- 8 Answers 8
- Not the answer you’re looking for? Browse other questions tagged python installation failed-installation or ask your own question.
- Linked
- Related
- Hot Network Questions
- Subscribe to RSS
- Python setup failed windows 7
- Решение проблем установки С Python 3.4 в Windows
- 11 ответов
- Fix: ‘Command “python setup.py egg_info” failed with error code 1’ When Installing Python
- Check if your pip and setuptools are Installed Correctly
- Upgrade setuptools
- Upgrade pip
- Try to Install the ez_setup
- Установка Python на Windows
- Рассмотрим установку языка программирования на Windows Server 2012, хотя установка на Windows 7, Windows 10 будет типовой.
8 Answers 8
Solution that worked for me:
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.
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.
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
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
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.
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!
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’.
5. Re g istry Editor will show up. Scroll down and find SYSTEM>ControlSet001>Control>Windows.
6. Inside windows folder you will find a file named ‘ CSDVERSION’.
7. Right click on CSDVERSION and select ‘ Modify’.
8. Remove 0 from ‘value data’ and type 100.
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. Программа, запущенная в рамках установки, не завершилась должным образом. Обратитесь в службу поддержки или пакет торговец.
после этого установка откатывается (с точки, показанной ниже):
в конце концов я нашел решение для этого, опубликованного ниже, и решил поделиться, если у кого-то еще была такая же проблема.
11 ответов
после некоторого поиска в Интернете я нашел (здесь), что проблема связана с конфликтующими установками pip (у меня уже установлена версия для Python 2.7, и, по-видимому, это несовместимо с версией, которая поставляется с Python 3.4.
чтобы обойти эту проблему, я просто отключил pip от параметров установки, показанных ниже, и установка прошла гладко:
запустите программу установки еще раз и выберите 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.
Error 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/
Скачать Python для windows
Выбираем установку для всех пользователей:
Выбираем установку для всех пользователей
Выбираем директорию для установки, я оставляю по умолчанию C:Python27:
Выбираем директорию для установки
Далее по умолчанию нажимаем NEXT, NEXT до окончания установки:
Окончание установки Phyton
Теперь необходимо проверить добавился ли путь для командной строки.
В диспетчере задач нажимаем Run new task:
Запускаем новую задачу Run new task
Набираем cmd и жмем ENTER:
Запускаем окно терминала
В окне терминала набираем python и жмем Enter, если выдаст информацию, то на этом инсталляция закончена.
У меня, как всегда, просто не получается и python выдает ошибку:
‘python’ is not recognized as an internal or external command, operable program or batch file
В этом же окне терминала набираем sysdm.cpl и попадаем в System Properties:
Набираем sysdm.cpl – Enter
Теперь нужно зайти в закладку Advanced и нажать кнопку Environment Variables:
Редактируем Path, добавляем в конце через точку с запятой путь куда установили Python, у меня это выглядит так – ;C:Python27:
Открываем Path
Дописываем пути ;C:Python27
Теперь пробуем прописать python, но сделать это нужно в новом окне терминала, который подтянет наши записи:
Python 2.7.14 установлен
Вот теперь установка Python закончена и можно работать.
Источник