Selenium3学习中遇到的问题

pytesseract识别验证码
  • TesseractNotFoundError: tesseract is not installed or it's not in your path
  • brew install tesseract
  • 找到pytesseract.py源码
  • tesseract_cmd = 'tesseract'
  • 更改为tesseract的安装目录,比如:tesseract_cmd = '/usr/local/Cellar/tesseract/3.05.02/bin/tesseract'



posted @ 2018-08-31 22:04  心若向善  阅读(287)  评论(0编辑  收藏  举报