1、Python安装包直接官网下载就行,现在基本都是3.6或者3.7版本了

2、通过cmd命令查看Python安装情况,看到Python版本则意味着Python安装完成

Python3.6上Selenium环境搭建

3、接下来,安装selenium(selenium版本最好是和python版本一致)

这里采用的是离线安装方式

(1)下载selenium安装包(百度云盘,如果失效了,下面留言,私发):

链接:https://pan.baidu.com/s/1qAXCGJOc0oq0nhfSnIEiYA#list/path=%2F
提取码:v1pu 

(2)打开下载文件后

Python3.6上Selenium环境搭建

(3)通过cmd进入命令行,进入selenium文件夹中,进行安装:

         输入python setup.py install指令执行setup.py文件安装selenium

Python3.6上Selenium环境搭建

看到下图中信息则意味着安装完成

Python3.6上Selenium环境搭建

也可以用pip show selenium指令查看selenium安装情况

Python3.6上Selenium环境搭建

到此为止,就意味着selenium安装完成了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-06-09
  • 2021-12-08
猜你喜欢
  • 2021-07-21
  • 2021-04-21
  • 2021-07-02
  • 2021-08-25
  • 2021-06-23
  • 2021-10-29
  • 2021-07-13
相关资源
相似解决方案