Last active
March 21, 2022 00:28
-
-
Save LucasBonafe/ad78a0ce9163a8e65889b68f05b6c0d5 to your computer and use it in GitHub Desktop.
Install Python 2.7 on Windows without Admin permissions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32: https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi | |
64: https://www.python.org/ftp/python/2.7.14/python-2.7.14.amd64.msi | |
pip: https://bootstrap.pypa.io/get-pip.py | |
PowerShell: | |
cd Downloads | |
Invoke-WebRequest https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi -OutFile python-2.7.14.msi | |
msiexec /a python-2.7.14.msi /qb TARGETDIR=C:\python27 | |
$env:path="$env:Path;C:\Python27" | |
python | |
pip install: | |
Invoke-WebRequest https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9 -OutFile pip-9.0.1.tar.gz | |
//unpack | |
cd .\pip-9.0.1 | |
python .\setup.py install | |
$env:path="$env:Path;C:\Python27\Scripts" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like 2.7.15 doesn't install with setuptools now so I believe you need to setup.py install that too