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 TARGETDIR to where you want it to go.
The /qb flag will give you a small dialog progress bar.
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 TARGETDIR to where you want it to go.
The /qb flag will give you a small dialog progress bar.
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.
- Download windows installer exe.
- Run the exe.
- Screen will be shown to chose the installation option.
- Uncheck "install for all users" option.
- Go for the custom installation.
- On next screen specify the directory path for which your user have full access on the computer.
- Uncheck "create shortcuts for installed application" option.
- Make sure "Add python to environment variable" option is Unchecked .
- complete the installation.
- Add the installation and Script folder path in PATH using setx
This has installed all the default components of python
- Hold Win and press Pause.
- Click Advanced System Settings.
- Click Environment Variables.
- Append
;C:\python27to thePathvariable. - Restart Command Prompt.
When setting Environmental Variables in Windows, I have gone wrong on many, many occasions. I thought I should share a few of my past mistakes here hoping that it might help someone. (These apply to all Environmental Variables, not just when setting Python Path)
Watch out for these possible mistakes:
- Kill and reopen your shell window: Once you make a change to the ENVIRONMENTAL Variables, you have to restart the window you are testing it on.
- NO SPACES when setting the Variables. Make sure that you are adding the
;C:\Python27WITHOUT any spaces. (It is common to tryC:\SomeOther; C:\Python27That space (␣) after the semicolon is not okay.) - USE A BACKWARD SLASH when spelling out your full path. You will see forward slashes when you try
echo $PATHbut only backward slashes have worked for me. - DO NOT ADD a final backslash. Only
C:\Python27NOTC:\Python27\
How do I download python on computers without admin privilege?
Make installation process friendly for custom locations (non-admin) on windows
Install python modules on windows without admin rights - Stack Overflow
Path is wrong and I don't have admin rights
Videos
Im sorry I might be stupid and this might be impossible but how do I download it on my computer when I don’t have admin privileges? Or is there some other python thing that I can download to get around admin privileges
You can always invoke a cmd shell with administrator rights (or any other runas method), and use a tool such as SETX to modify the path permanently. Existing shells and/or running programs will probably be using the old path, but any new shell/program will use the new settings.
For accounts without admin privileges:
Open "User Accounts" and choose "Change my environment variables" (http://support.microsoft.com/kb/931715).
This dialog will show you your current user variables as well as the system variables. You may need to add a local PATH variable if you haven't already.
To update your Path to include the Python 3.3 directory, for instance, click New:
Variable Name: PATH Variable Value: %PATH%;C:\Python33
This creates a local PATH by taking the current system PATH and adding to it.
The post is 7 months old, but this can help others. This worked for me on Windows 10 Pro without admin privileges: python.exe -m pip install
- Install Anaconda (Don't need admin rights) ->
- Open Spyder ->
- Goto Terminal and type ->
import sys
!{sys.executable} -m pip install pandas
I've had Python 3.7.4 installed on my Windows 7 work laptop (heavily restricted) but several things have not worked properly.
For starters somehow a load of the directories were missing from the Python72-32 directory, but this was easily solved by me copying my directory from my home PC, so now the executable will actually run and I can use the interpreter.
The trouble is that I cannot get any scripts to run at all (not even hello world). I can type the code manually into the interpreter, but when I try to open a script in python by dragging and dropping I just get "SyntaxError: unexpected character after line continuation character". Typing "py" or "py -3" give "No Installed Pythons Found" and "Requested Python version (3) not installed,........" respectively.
I believe this is because the python Path is not set-up correctly, but I can't change the environment variable for all users myself. I have tried changing this for just my user by manually adding a "Path" variable with the value being the location of the Python install, but this doesn't work.
Upon inspection of System variables I can see that "Path" is set to be a Java directory, which I assume is causing some issues. I cannot copy my Python files to this folder as this folder is protected and requires admin rights to add/move/delete.
Is there any way to fix this without admin rights? (IT have already failed to install Python once and I'd rather fix it myself, if I can, rather than wait a day or two just to have it not work again).
Thanks.
I wanna work on a project while I’m at school but I can’t install pygame on pycharm because I don’t have admin access. Does anyone know how I can install a package without admin access? (I’m not at school right now and I don’t remember what the error message was when I last tried to install pygame)