geckodriver的下载、安装与配置

news/2024/7/19 9:29:53 标签: windows, 爬虫

1、下载geckodriver压缩包

链接:https://pan.baidu.com/s/1u8_lFbCWSc3Bux2Win0v-Q
提取码:2677

下载好后的geckodriver压缩包:
在这里插入图片描述

2、解压geckodriver

将1中下载好的geckodriver压缩包解压得到exe文件:
在这里插入图片描述

3、将2中得到的exe文件复制到Firefox安装目录下

在这里插入图片描述

4、将3中的Firefox目录路径添加到环境变量中

右击我的电脑 > 属性
在这里插入图片描述
选择“高级系统设置”
在这里插入图片描述
选择环境变量
在这里插入图片描述
在系统变量里选择“path”,将Firefox路径添加进去:
在这里插入图片描述
点击确定即可


http://www.niftyadmin.cn/n/948537.html

相关文章

将新建的虚拟环境导入到jupyter notebook中

1、新建虚拟环境 见博客: python创建虚拟环境(一):使用conda创建虚拟环境 python创建虚拟环境(二):使用终端命令创建虚拟环境 python创建虚拟环境(三):用pyc…

jupyter notebook 使用新环境无法连接,终端报错[W 20:14:43.988 NotebookApp] KernelRestarter: restart failed

jupyter notebook 显示无法连接(无法运行程序): 终端报错: 解决方法如下: 1、在cmd终端输入以下命令激活需要使用的环境: activate 环境名我在这里输入: activate tensorflow1.0可以发现…

tensorflow1.15.0(1.x最新版本)and tensorflow1.15.0-gpu下载与安装详细过程

一、创建虚拟环境 见博客: python创建虚拟环境(一):使用conda创建虚拟环境 python创建虚拟环境(二):使用终端命令创建虚拟环境 python创建虚拟环境(三):用py…

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问的解决方法

今天使用: pip3 install --upgrade --force-reinstall --no-cache-dir jupyter报错: ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: ‘d:\anaconda3\lib\site-packages\~mq\backend\cython\constants.cp37-…

ERROR: Cannot uninstall ‘ipython-genutils‘.的解决方法

今天使用: pip3 install --upgrade --force-reinstall --no-cache-dir jupyter报错: ERROR: Cannot uninstall ‘ipython-genutils’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which …

卸载jupyter notebook 重新安装

最近jupyter note book总是出现各种问题,干脆直接重新安装来的简单。 1、彻底卸载jupyter note book 注意: 使用pip uninstall jupyter是卸不掉jupyter的。 需要使用如下命令卸载 jupyter: pip install pip-autoremove pip-autoremove jup…

ERROR: After October 2020 you may experience errors when installing or updating packages.解决方法

在使用: pip3 install -user --upgrade --force-reinstall --no-cache-dir jupyter报错如下: ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves…

初学深度学习(一)TensorFlow基本开发步骤之准备数据and搭建模型(正向+反向)

本文以逻辑回归拟合二维数据为例进行演示tensorflow的基本开发步骤。 实例:从一组看似混乱的数据中找出y≈2x的规律 实例描述: 假设有一组数据集,其x和y的对应关系为y≈2x。 深度学习大概有如下四个步骤: (1&…