安装python+selenium自动化遇到问题之二(you are using 9.0.1,however version 20.1.1 is available)

在安装selenium中使用  python -m pip show selenium 查看自己是否安装好selenium时  

 

出现

you are using 9.0.1,however version 20.1.1 is available

You should consider upgrading via the 'python -m pip install --upgrade pip' command and

 

 

 

 这种原因是因为升级的问题:你先做使用的pip是9.0.1的版本,然后20.1.1的版本才是可以用的

你应该考虑升级  可以使用  python -m pip install --upgrade pip 语句并继续。

 

这时候我们根据它的提示操作  输入:python -m pip install --upgrade pip 

就会出现对应的进度,等待安装:

 

 

 

安装好后我们可以使用语句进行安装

pip install selenium

 就可以了。然后顺带检查下

python -m pip show selenium

posted on 2020-05-30 15:59  柠木双子  阅读(1123)  评论(0编辑  收藏  举报

导航