tesserocr报错 Failed to init API, possibly an invalid tessdata path: C:UsersAdministratorvenvpy3sp(示例代

Posted 超灬超

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tesserocr报错 Failed to init API, possibly an invalid tessdata path: C:UsersAdministratorvenvpy3sp(示例代相关的知识,希望对你有一定的参考价值。

print(tesserocr.file_to_text("1.png"))

  报错Failed to init API, possibly an invalid tessdata path: C:UsersAdministratorvenvpy3spider

 

  需要将tessdata文件夹   放到C:UsersAdministratorvenvpy3spiderScripts目录  即报错目录的Scripts下面

以上是关于tesserocr报错 Failed to init API, possibly an invalid tessdata path: C:UsersAdministratorvenvpy3sp(示例代的主要内容,如果未能解决你的问题,请参考以下文章

解决windows安装tesserocr报错问题 Failed building wheel for tesserocr

解决Mac安装tesserocr报错问题 Failed building wheel for

phpStudy安装composer时,SSL报错(Failed to enable crypto)的解决方法

Myeclipse 启动报错 Failed to create the java Virtual Machine

MySQL root密码重置 报错:mysqladmin: connect to server at 'localhost' failed的解决方案

Eclipse及Eclipse为基础的App报错“Failed to create the Java Virtual Machine”的解决办法