weixin_43812774 2019-01-24 20:08 采纳率: 0%
浏览 734

一直报错,但是没找到错

```E:\anaconda\python.exe "E:/寒假 python/12306.py"
Traceback (most recent call last):
File "E:/寒假 python/12306.py", line 248, in
huoche.start()
File "E:/寒假 python/12306.py", line 177, in start
self.driver=Browser(driver_name=self.driver_name,executable_path=self.executable_path)
File "E:\anaconda\lib\site-packages\splinter\browser.py", line 64, in Browser
return driver(*args, **kwargs)
File "E:\anaconda\lib\site-packages\splinter\driver\webdriver\firefox.py", line 78, in init
**kwargs
TypeError: init() got an unexpected keyword argument 'options'
这种错怎么解决

  • 写回答

2条回答

  • threenewbee 2019-01-25 00:41
    关注

    你有没有安装对webdriver的驱动和firefox浏览器。

    评论

报告相同问题?

悬赏问题

  • ¥30 dspbuilder中使用signalcompiler时报错Error during compilation: Fitter failed,求解决办法
  • ¥15 gwas 分析-数据质控之过滤稀有突变中出现的问题
  • ¥15 没有注册类 (异常来自 HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
  • ¥15 知识蒸馏实战博客问题
  • ¥15 用PLC设计纸袋糊底机送料系统
  • ¥15 simulink仿真中dtc控制永磁同步电机如何控制开关频率
  • ¥15 用C语言输入方程怎么
  • ¥15 网站显示不安全连接问题
  • ¥15 51单片机显示器问题
  • ¥20 关于#qt#的问题:Qt代码的移植问题