Im trying to install python so i can use some scripts from github and the one im trying to use says install as an admin, i am the admin on this computer and its owned by me (not a workplace or anything) ive tried running the installer with admin privileges with no luck, help pls.
How to install Python (any version) in Windows when you've no admin privileges? - Stack Overflow
installation - How can I install python on windows 11? - Stack Overflow
Win-11 3.11.0 - Can't enable admin privileges, even if I install as the atmin. Can't install for all users as the result.
How to give python admin priviledges or call python with admin priviledges?
Videos
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
Hello. I have no doubt I'll enjoy and be able to pick up Python once I get things set up and configured. I'm proficient in SQL and VBA, have historic experience in Fortran and Javascript, but the environments have always been set up and ready to go for me. I've never had to do my own installs and configurations. I think that's where I'm running into trouble. I found documentation on Python.org that says if I installed from an installer from Python.org I should have "pip" installed. It tells me to check for this by running the command:
python -m pip --version
When I run this, though, I get the following error:
>>> python -m pip --version
File "<stdin>", line 1
python -m pip --version
( spaces )^^^
SyntaxError: invalid syntax
I have been able to set up VS Code and point to my Python implementation and write basic scripts from Python.Org documentation. Everything executes just fine but I'm struggling to understand what's going on when I check for the pip package.
Ultimately, I want to learn Python for analytics purposes in my career, but I was wanting to create a reddit bot as a learning case, so I'm trying to install "praw". The instructions say to use pip and that's where it all comes apart.
Any help greatly appreciated, even if it's just a link to read on this.
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
Another example, I just downloaded Git for windows from within the standard AD user account and ran the exe from the downloads folder, just as I did with Signal app. It installed without any requirement for admin permissions.
The difficulty I am having with AppLocker is more about being perplexed about correct implementation. I do not want to inadvertently break something at the application layer on their system and then I have to use more time to resolve later. Seemed to me that it was very generally declarative not so specific.
However, reading your post has provided guidance. I install all apps for them before the workstation gets assigned to them. I want to prevent them once they get the laptop from installing any exe program, the requirement is I install via IBM maas360 systems manager by pushing it remotely or I connect remotely via vnc session and do it using my admin privileges for it.
No, I did not start the App ID service. I just went into secpol.msc->AppLocker and started navigating and reading the descriptions and became flustered. Is this the sysconfiguration you recommend that I can use. As in, I install only necessary programs prior and then anything they require after the laptop is in their hands I can do it for them. I just do not want to also block the admin user from being able to install exe installers in the future.
Those things install to appdata. They do not need admin rights to run. Just like GoToMeeting or Zoom or anything else that runs from appdata.
If it doesn’t require admin rights it will work and run.
The only way to stop executables is application white or blacklisting.
You will have to start the ApplicationIdentityService for Applocker to actually work and do its job. Which comes in handy as you are testing.
Here is a basic Applocker config. I use this on my RDS servers to keep people from running anything but our ERP system. Applocker is whitelisting so only what you allow, is allowed to run.
applocker.png800×405 79.1 KB Hello, new sysadmin here for a tech startup company.
I have been setting up windows 10 enterprise workstations for my standard users and have them domain joined to our AD DC, as such there is the domain Administrator account and then there standard domain user account logged into their computer. I also have the local machine admin account when I first set up the laptop, which I do not disable.
The problem I am encountering is that when the user attempts to install software, most of the time the Admin privileges credentials prompt is triggered, .msi or some other installer package that invokes Windows installer to run, however, whenever it is a .exe installer file, the user can just run the software themselves for installation. E.g. : Signal messenger desktop app. We do not want this.
I have attempted to find a simple effective solution for requiring elevated privileges to install programs that bypass Windows Installer, to no avail thus far. I have been configuring some GPOs and I know about AppLocker in secpol.msc, yet the functionality just does not do the simple task of : Standard user runs exe file to install program on system → enable prompt for Admin privilege credentials.That is it. That is all I want to do. If program is exe and attempts to install in whatever path ( AppData, Program Files, system32, etc…) require admin rights !
Why is this so difficult to set up, or does it just seem like that to me because I am not an expert?
Thanks.
@joekopet @stephanjosiah
As the title says, I can’t install python on my computer. Are there other ways to get access to python? Perhaps a web based version or portal? Thank you.