简体   繁体   中英

easy_install requires admin rights on Windows

Python is installed in a directory all users have full access to, but when I run easy_install, a consent window appears asking for administrator credentials. Why?

Is this not what you would expect? On every computer I've ever used, admin privileges are required to make any type of modifications that will affect all users.

I think I have found a solution:

easy_install.cmd

@echo off
C:\Python26\python.exe C:\Python26\Scripts\easy_install-script.py %*

This script does not require admin rights.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM