ubuntu安裝tesserocr
sudo apt-get install -y tesseract-ocr libtesseract-dev libleptonica-dev
pip3 install tesserocr pillow
我在使用第二條指令的時候進入了root模式。
來自以下文章。更多請移步一面這篇文章
https://germey.gitbooks.io/python3webspider/1.3.4-Tesserocr%E7%9A%84%E5%AE%89%E8%A3%85.html