ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。
解决方法
我是在安装pyqt5时报错的,可能是用了镜像网站的原因
pip install --user -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn 安装的模块
推荐几个镜像网站
阿里云镜像:https://mirrors.aliyun.com/pypi/simple/
清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/
豆瓣:https://pypi.doubanio.com/simple/
中科大:https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/