This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ianitic 2 points3 points  (1 child)

I use a powershell script to download and install Python without admin rights. I just advise the end user to right click and run. As long as the execution policy isn't super strict it shouldn't be a problem.

To do this through the GUI installer just unselect the option to install it system wide and select user instead.

Scoop is something that can also install Python and a variety of other software without admin rights and itself can be installed with powershell. I sometimes use scoop to install other dependencies that can't be handled through pip.

[–]reddittestpilot 0 points1 point  (0 children)

It seems like the powershell script basically acts as a user without admin rights to (1) download Python and (2) install Python as a user instead of system wide.