Skip to content

Instantly share code, notes, and snippets.

@firmanelhakim
Created June 29, 2018 07:39
Show Gist options
  • Save firmanelhakim/11e10b343f093db200de699ff539df61 to your computer and use it in GitHub Desktop.
Save firmanelhakim/11e10b343f093db200de699ff539df61 to your computer and use it in GitHub Desktop.
How to Install Python without Admin Rights in Windows

From the Python website, download the MSI version of Python you wish to install.

Then open your command prompt and use this command:

msiexec /a python-2.7.10.msi /qb TARGETDIR=C:\python27

Substitute python-2.7.10.msi, if you downloaded Python 3 and adjust your target directory to where you want it to go.

The /qb flag will give you a small dialog progress bar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment