PIP安装selenium报错:拒绝访问

win10下

pip install selenium时提示:

PermissionError: [WinError 5] 拒绝访问。: ‘c:\\program files\\python37\\Lib\\site-packages\\urllib3‘
You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip‘ command.

-------------------------------------------------------------------------------------------------------------------------------------------

两个问题:1. 拒绝访问 2. 更新问题

问题一解决方法:找到python37右键“属性“--安全--编辑--选择users--添加--勾选,点击应用

 

问题二解决方法:直接输入python -m pip install --upgrade pip安装

 

posted @ 2020-11-28 21:37  如沫  阅读(878)  评论(0编辑  收藏  举报