close

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

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How to install Python (any version) in Windows when you’ve no admin privileges in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

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

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

    I downloaded embeddable zip file from the site. Extracted it to the folder of my choice. Then added that folder in the windows path variable (using setx). It worked for me. Well this install only python and not the other packages like pip etc.

  2. install Python (any version) in Windows when you've no admin privileges

    I downloaded embeddable zip file from the site. Extracted it to the folder of my choice. Then added that folder in the windows path variable (using setx). It worked for me. Well this install only python and not the other packages like pip etc.

Method 1

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.

Method 2

I downloaded embeddable zip file from the site. Extracted it to the folder of my choice. Then added that folder in the windows path variable (using setx). It worked for me. Well this install only python and not the other packages like pip etc.

Later I found better and simpler way with Python 3.7.0 version for windows.

  1. Download windows installer exe.
  2. Run the exe.
  3. Screen will be shown to chose the installation option.
  4. Uncheck “install for all users” option.
  5. Go for the custom installation.
  6. On next screen specify the directory path for which your user have full access on the computer.
  7. Uncheck “create shortcuts for installed application” option.
  8. Make sure “Add python to environment variable” option is Unchecked .
  9. complete the installation.
  10. Add the installation and Script folder path in Path using setx

This has installed all the default components of python

Conclusion

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read