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!
取消选中“为所有人安装”,您应该可以在没有管理员权限的情况下进行安装(在 Windows 上选中)
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.