Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Python (any version) in Windows when you've no admin privileges?

Tags:

python

The "NO ADMIN PRIVILEGES" part is key. I need to install Python but I do not have access to it in order to run the installation in a proper way. I'm also behind a firewall, so the "pip" option is quite limited.

Could you help me figure this out?

like image 776
hernanemartinez Avatar asked Nov 23 '15 17:11

hernanemartinez


People also ask

Can I install Python packages without admin rights?

To install Python packages (“eggs”) from the Python language's package manager pip, follow our instructions below. This can be done without Administrator access in a per-user, per-project clean manner with virtualenv.

How do I install software if I'm not the administrator?

Search up "(name of the software you are installing) install" in a search engine to get fast results. Download the app installer onto your laptop. Drag the installer to your "Documents" folder. Make a folder to store the installer and other related files that will help with the installation.


1 Answers

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.

like image 176
Andy Avatar answered Oct 02 '22 04:10

Andy