win10下pip3安装tesserocr时报错
发布时间:2020-12-14 05:50:26 所属栏目:Windows 来源:网络整理
导读:使用pip3在线安装tesserocr时报错,刚开始报错内容是提示未安装vs2014,安装完以后报错内容如下 ERROR: Command errored out with exit status 1: command: ‘c:usersadministratorappdatalocalprogramspythonpython37python.exe‘ -u -c ‘import s
使用pip3在线安装tesserocr时报错,刚开始报错内容是提示未安装vs2014,安装完以后报错内容如下 ERROR: Command errored out with exit status 1: command: ‘c:usersadministratorappdatalocalprogramspythonpython37python.exe‘ -u -c ‘import sys,setuptools,tokenize; sys.argv[0] = ‘"‘"‘C:UsersADMINI~1AppDataLocalTemppip-install-v4ys64lrtesserocrsetup.py‘"‘"‘; __file__=‘"‘"‘C:UsersADMINI~1AppDataLocalTemppip-install-v4ys64lrtesserocrsetup.py‘"‘"‘;f=getattr(tokenize,‘"‘"‘open‘"‘"‘,open)(__file__);code=f.read().replace(‘"‘"‘rn‘"‘"‘,‘"‘"‘n‘"‘"‘);f.close();exec(compile(code,__file__,‘"‘"‘exec‘"‘"‘))‘ install --record ‘C:UsersADMINI~1AppDataLocalTemppip-record-znybe2k0install-record.txt‘ --single-version-externally-managed --compile cwd: C:UsersADMINI~1AppDataLocalTemppip-install-v4ys64lrtesserocr Complete output (18 lines): C:UsersADMINI~1AppDataLocalTemppip-install-v4ys64lrtesserocrsetup.py:134: 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}} c:usersadministratorappdatalocalprogramspythonpython37libdistutilsdist.py:274: UserWarning: Unknown distribution option: ‘long_description_content_type‘ warnings.warn(msg) running install running build running build_ext building ‘tesserocr‘ extension creating build creating buildtemp.win-amd64-3.7 creating buildtemp.win-amd64-3.7Release C:Program Files (x86)Microsoft Visual Studio 14.0VCBINx86_amd64cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:usersadministratorappdatalocalprogramspythonpython37include -Ic:usersadministratorappdatalocalprogramspythonpython37include "-IC:Program Files (x86)Microsoft Visual Studio 14.0VCINCLUDE" "-IC:Program Files (x86)Windows Kits10include10.0.10240.0ucrt" /EHsc /Tptesserocr.cpp /Fobuildtemp.win-amd64-3.7Releasetesserocr.obj tesserocr.cpp c:usersadministratorappdatalocalprogramspythonpython37includepyconfig.h(215): fatal error C1083: Cannot open include file: ‘basetsd.h‘: No such file or directory error: command ‘C:Program Files (x86)Microsoft Visual Studio 14.0VCBINx86_amd64cl.exe‘ failed with exit status 2 ---------------------------------------- ERROR: Command errored out with exit status 1: ‘c:usersadministratorappdatalocalprogramspythonpython37python.exe‘ -u -c ‘import sys,‘"‘"‘exec‘"‘"‘))‘ install --record ‘C:UsersADMINI~1AppDataLocalTemppip-record-znybe2k0install-record.txt‘ --single-version-externally-managed --compile Check the logs for full command output. 目前没找到其他比较好的解决办法,只能下载离线包后手动pip3安装, 下载地址:https://github.com/simonflueckiger/tesserocr-windows_build/releases (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 任何capistrano相当于windows/.net?
- windows – 如何自动拒绝WSUS中的质量汇总更新
- Windows 7与Windows XP的客观速度比较
- 64位WiX自定义操作
- Microsoft Visio professional 2013、Project professional
- Windows Python版本和VC可再发行版本
- windows-server-2003 – 设置多个电子邮件别名
- Windows – 如何使用批处理文件附加文本文件
- 如何使Windows窗体中的MultiLine = false显示WPF TabContro
- windows-xp – VS2012 ClickOnce应用程序无法在Windows XP上
推荐文章
站长推荐
- windows-server-2008 – 按需病毒扫描Windows
- powershell – Mixlib :: ShellOut – Windows模
- windows-8 – Windows 8广告显示在设置弹出窗口之
- windows – 在R中的doMC和foreach循环不起作用
- windows – 系统进程正在保存字体文件
- windows – ssh隧道链
- windows-server-2003 – 如何对服务器黑客进行验
- Windows应用程序的最佳实践?
- windows – 是否有可能“欺骗”PrintScreen,在捕
- Windows Azure SDK返回未知的AccountType:undef
热点阅读