ERROR: Command errored out with exit status 1:
command: 'c:\users\frozen\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Frozen\\AppData\\Local\\Temp\\pip-install-ev1n5t04\\tesserocr\\setup.py'"'"'; __file__='"'"'C:\\Users\\Frozen\\AppData\\Local\\Temp\\pip-install-ev1n5t04\\tesserocr\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Frozen\AppData\Local\Temp\pip-wheel-ezsxb4q6'
cwd: C:\Users\Frozen\AppData\Local\Temp\pip-install-ev1n5t04\tesserocr\
Complete output (12 lines):
C:\Users\Frozen\AppData\Local\Temp\pip-install-ev1n5t04\tesserocr\setup.py:72: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if subversion is not None and subversion is not "":
C:\Users\Frozen\AppData\Local\Temp\pip-install-ev1n5t04\tesserocr\setup.py:135: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
_LOGGER.warn('Failed to extract tesseract version from executable: {}'.format(e))
Failed to extract tesseract version from executable: [WinError 2] 系统找不到指定的文件。
Supporting tesseract v3.04.00
Building with configs: {'libraries': ['tesseract', 'lept'], 'cython_compile_time_env': {'TESSERACT_VERSION': 50593792}}
running bdist_wheel
running build
running build_ext
building 'tesserocr' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for tesserocr
Running setup.py clean for tesserocr
Failed to build tesserocr
Installing collected packages: tesserocr
Running setup.py install for tesserocr ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\frozen\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Frozen\\AppData\\Local\\Temp\\pip-install-ev1n5t04\\tesserocr\\setup.py'"'"'; __file__='"'"'C:\\Users\\Frozen\\AppData\\Local\\Temp\\pip-install-ev1n5t04\\tesserocr\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Frozen\AppData\Local\Temp\pip-record-qp6rm0zr\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\frozen\appdata\local\programs\python\python38\Include\tesserocr'
cwd: C:\Users\Frozen\AppData\Local\Temp\pip-install-ev1n5t04\tesserocr\
Complete output (12 lines):
C:\Users\Frozen\AppData\Local\Temp\pip-install-ev1n5t04\tesserocr\setup.py:72: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if subversion is not None and subversion is not "":
C:\Users\Frozen\AppData\Local\Temp\pip-install-ev1n5t04\tesserocr\setup.py:135: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
_LOGGER.warn('Failed to extract tesseract version from executable: {}'.format(e))
Failed to extract tesseract version from executable: [WinError 2] 系统找不到指定的文件。
Supporting tesseract v3.04.00
Building with configs: {'libraries': ['tesseract', 'lept'], 'cython_compile_time_env': {'TESSERACT_VERSION': 50593792}}
running install
running build
running build_ext
building 'tesserocr' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\frozen\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Frozen\\AppData\\Local\\Temp\\pip-install-ev1n5t04\\tesserocr\\setup.py'"'"'; __file__='"'"'C:\\Users\\Frozen\\AppData\\Local\\Temp\\pip-install-ev1n5t04\\tesserocr\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Frozen\AppData\Local\Temp\pip-record-qp6rm0zr\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\frozen\appdata\local\programs\python\python38\Include\tesserocr' Check the logs for full command output.
错误信息有点长 |