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'