easy_install 需要 Windows 上的管理员权限

发布于 2024-11-30 21:03:11 字数 79 浏览 6 评论 0原文

Python 安装在所有用户都可以完全访问的目录中,但是当我运行 easy_install 时,会出现一个同意窗口,要求提供管理员凭据。为什么?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

逆光下的微笑 2024-12-07 21:03:11

这不是您所期望的吗?在我使用过的每台计算机上,都需要管理员权限才能进行影响所有用户的任何类型的修改。

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.

堇色安年 2024-12-07 21:03:11

我想我已经找到了解决方案:

easy_install.cmd

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

该脚本不需要管理员权限。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文