首页 PaddleOCR 帖子详情
PPStructure运行报错 已解决
收藏
快速回复
PaddleOCR 其他OCR 465 3
PPStructure运行报错 已解决
收藏
快速回复
PaddleOCR 其他OCR 465 3

ImportError: DLL load failed while importing win32file: 找不到指定的程序。

在网上找到方法是安装pywin32,但是命令行显示已经安装过了

划飞桨的Daniel
已解决
2# 回复于2022-03
最好是conda新建一个干净虚拟环境重新梳理一下,有可能是环境没有对应上  
0
收藏
回复
全部评论(3)
时间顺序
划飞桨的Daniel
#2 回复于2022-03

最好是conda新建一个干净虚拟环境重新梳理一下,有可能是环境没有对应上

 

0
回复
东先生
#3 回复于2022-05

pywin32换成228

pip install pywin32==228

可以避免“ImportError: DLL load failed while importing win32file: 找不到指定的程序。”错误。

但同时ocr报告如下错误,在pywin32 304版本下没有下面的错误。

paddleocr --image_dir . 1.png --use_angle_cls true --use_gpu false

DeprecationWarning: the imp module is deprecated in favour of importlib; see the modul
e's documentation for alternative uses

....

raise Exception("not found any img file in {}".format(img_file))
Exception: not found any img file in 1.png

0
回复
东先生
#4 回复于2022-05
最好是conda新建一个干净虚拟环境重新梳理一下,有可能是环境没有对应上  

 

这上面啥广告词,通不过百度文本审核?

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户