pip install 时报错 [WinError 5] 拒绝访问

Python 971 0 2021-01-08

pip install 时报错  [WinError 5] 拒绝访问

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

如报错图:

解决方法:

在pip install 后面加上 --user + 需要安装的包名

例如:

pip install --user PyQtChart

这样就能够安装成功了!


上一篇:PyQt5日期与时间 QDate, QTime, QDateTime

下一篇:PyQt5-QPrinter控件使用

讨论数量:0

请先登录再发表讨论。 2024-04-28

天涯网魂
3 杠 5 星
TA 的文章
TA 的随言
TA 的资源链