Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\programdata\\anaconda3\\lib\\site-packages\\pip\\_internal\\build_env.py'
Consider using the `--user` option or check the permissions.

这个解决办法是在 install 后面加上--user,如下面语句

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

【Python】Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。

相关文章:

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