pip install 时报错 ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问(已解决)

这是报错截图:
pip install 时报错 ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问(已解决)
解决方案如下:
在pip install 后面加上 --user + 需要安装的包名
例如:

pip install --user imblearn
这样就能够安装成功了!
pip install 时报错 ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问(已解决)

相关文章:

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