gpt4 book ai didi

python - 尝试在 Windows 上 pip 安装包时访问被拒绝

转载 作者:太空狗 更新时间:2023-10-29 18:15:54 25 4
gpt4 key购买 nike

python 3.7.0如何设置路径?我尝试了所有可能的方法,但它仍然显示错误!

Could not install packages due to an EnvironmentError: [WinError 5]

Access is denied: 'c:\program files (x86)\python37-32\lib\site-packages\pip-10.0.1.dist-info\entry_points.txt'

Consider using the --user option or check the permissions

最佳答案

在命令中添加--user

例如:

pip install -r requirements.txt --user

关于python - 尝试在 Windows 上 pip 安装包时访问被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51115744/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com