Reputation: 528
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!
Upvotes: 6
Views: 14042
Reputation: 970
Uncheck "install for everyone" and you should be able to install without admin rights (Checked on windows)
Upvotes: 2
Reputation: 85512
You can use Miniconda. That allows installation of Python without admin rights. And please use Python 3.6 unless you have a very good reason to use the old 2.7, also called legacy Python.
Upvotes: 0