Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install python on windows without admin privilege

I was looking to install python on my school computer so that I can code at school, but I don't have any admin privileges.

So far I've downloaded python using

msiexec /a python-2.7.14.msi /qb TARGETDIR=C:\filepath

Then I set the path to python.exe using

rundll32 sysdm.cpl,EditEnvironmentVariables

Now when I run python in the command prompt I get

This program is blocked by group policy. For more information, contact your system administrator.

Is there a way around this, or will I not be able to run python without admin privileges? Thanks!

like image 491
Andrew Avatar asked Nov 08 '22 11:11

Andrew


1 Answers

Uncheck "install for everyone" and you should be able to install without admin rights (Checked on windows)

like image 193
ambassallo Avatar answered Nov 14 '22 21:11

ambassallo