Skip to content

Instantly share code, notes, and snippets.

@Guitar420
Guitar420 / Powershell Python 2.7 Install
Created November 21, 2020 09:59 — forked from LucasBonafe/Powershell Python 2.7 Install
Install Python 2.7 on Windows without Admin permissions.
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