一、问题描述

在dos下升级pip时,报错如下:

“Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\program files\\python37\\lib\\site-packages\\pip-10.0.1.dist-info\\entry_points.txt'
Consider using the `--user` option or check the permissions.”

 

二、问题分析

解决Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。(win10下升级pip)

 

三、解决步骤

python -m pip install --user  --upgrade pip

解决Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。(win10下升级pip)

 

推荐阅读:

python的pip10.1版本出现了安装包时的错误Could not install packages due to anEnvironmentError: [WinError 5] 拒绝访问

 

 

相关文章:

  • 2021-12-21
  • 2022-12-23
  • 2021-04-17
  • 2021-10-08
  • 2022-12-23
  • 2021-05-08
  • 2021-06-29
  • 2021-10-20
猜你喜欢
  • 2021-09-25
  • 2021-10-01
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
相关资源
相似解决方案