Python selenium的FileNotFoundError
因此,我尝试模拟本页中的代码: 但我得到了这个错误:Python selenium的FileNotFoundError,python,selenium,Python,Selenium,因此,我尝试模拟本页中的代码: 但我得到了这个错误: FileNotFoundError Traceback (most recent call last) c:\programdata\miniconda3\lib\site-packages\selenium\webdriver\common\service.py in start(self) 73
FileNotFoundError Traceback (most recent call last)
c:\programdata\miniconda3\lib\site-packages\selenium\webdriver\common\service.py in start(self)
73 close_fds=platform.system() != 'Windows',
---> 74 stdout=self.log_file, stderr=self.log_file)
75 except TypeError:
有什么建议吗
我正在Jupyter笔记本中使用python 3.6解决了!正如mhawke上面提到的,我需要安装geckodriver。但是在哪里安装呢 因为我使用的是Miniconda3,所以我只需下载geckodriver.exe并将其放入C:\ProgramData\Miniconda3文件夹
谢谢,mhawke。您需要安装和配置geckodriver。看到和
FileNotFoundError Traceback (most recent call last)
c:\programdata\miniconda3\lib\site-packages\selenium\webdriver\common\service.py in start(self)
73 close_fds=platform.system() != 'Windows',
---> 74 stdout=self.log_file, stderr=self.log_file)
75 except TypeError: