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

python笔记774字数 279阅读0分55秒阅读模式

新买一台服务,准备好好搞搞我的免费代理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

 
  • 本文由 asdfasd 发表于 2018-12-1819:06:43
  • 转载请务必保留本文链接:http://wp.fangfa.me/python-note/no-driver-for-phantomjs.html