【已解决】splinter.exceptions.DriverNotFoundError: No driver for phantomjs 错误

seofangfa python笔记1 741阅读模式

新买一台服务,准备好好搞搞我的免费代理IP采集系统,却发现在另一台服务器上跑得好好的PY在这新机器上跑不起来,一直报“splinter.exceptions.DriverNotFoundError: No driver for phantomjs”错误。

折腾了一天,终于解决了,其实原因很简单,查splinter得知, 0.9版本以后就不再支持phantomjs了,回到之前能跑的服务器一看,果然是0.8版本的。pip show splinter | grep Version

解决办法:pip uninstall splinter,pip install splinter==0.8.0

文章末尾固定信息

weinxin
我的微信
我的微信
微信扫一扫
 
seofangfa
  • 本文由 seofangfa 发表于 2018年12月18日19:06:43
  • 转载请务必保留本文链接:https://wp.fangfa.me/python-note/no-driver-for-phantomjs.html
    • 认识我你太幸运了
      认识我你太幸运了 0

      几个月销声匿迹,学py去了呀

    匿名

    发表评论

    匿名网友
    :?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
    确定

    拖动滑块以完成验证