我想使用 pytesseract 进行 OCR。于是就安装了。但在此之前我需要安装 tesseract-ocr。我使用的是 Windows 8.1。我打开命令行并运行命令 pip install tesseract-ocr。以下几行是该命令的结果。
我无法理解这里发生了什么。我如何理解这一点并帮助我在我的电脑上成功安装 tesseract?
C:\Users\HarshLaptop>pip install tesseract-ocr
Collecting tesseract-ocr
Using cached https://files.pythonhosted.org/packages/e2/0d/dcee3dd0fc4c7bcd181
25a98f8ba6d9db7aecaa40770595203e312649587/tesseract-ocr-0.0.1.tar.gz
Requirement already satisfied: cython in c:\users\harshlaptop\anaconda3\lib\site
-packages (from tesseract-ocr) (0.25.2)
Building wheels for collected packages: tesseract-ocr
Running setup.py bdist_wheel for tesseract-ocr ... error
Complete output from command c:\users\harshlaptop\anaconda3\python.exe -u -c "
import setuptools, tokenize;__file__='C:\\Users\\HARSHL~1\\AppData\\Local\\Temp\
\pip-install-x8nz3uhm\\tesseract-ocr\\setup.py';f=getattr(tokenize, 'open', open
)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __f
ile__, 'exec'))" bdist_wheel -d C:\Users\HARSHL~1\AppData\Local\Temp\pip-wheel-s
j29zfyo --python-tag cp36:
running bdist_wheel
running build
running build_py
file tesseract_ocr.py (for module tesseract_ocr) …
Run Code Online (Sandbox Code Playgroud)