windows下pytesseract识别验证码遇到的pytesseract.pytesseract.TesseractNotFoundError: tesseract is not in 的解决方法
问题:出现“pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your PATH.”错误,可能是tesseract安装配置环境有问题解决办法:将pytesseract.py 里面的tesseract_cmd = 'tesseract' 改成 tesseract_cmd = r'D:\Program Files (x86)\Tesseract-OCR\tesseract.ex.