PaddleOCR
PaddleOCR copied to clipboard
cannot import name 'inference' from 'paddle'
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
paddleocr --image_dir C:/Users/admin/Pictures/微信图片_20220521091100.jpg
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\admin\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\admin\AppData\Local\Programs\Python\Python39\Scripts\paddleocr.exe_main.py", line 4, in
- 系统环境/System Environment: windows11
- 版本号/Version:Paddle:1.0.2 PaddleOCR:2.3.0.2 问题相关组件/Related components:
- 运行指令/Command Code:paddleocr --image_dir C:/Users/admin/Pictures/微信图片_20220521091100.jpg
- 完整报错/Complete Error Message:
安装paddle了吗
paddleocr
安装了paddle-1.0.2 还是报错ImportError: cannot import name 'inference' from 'paddle'
https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/conda/windows-conda.html 按照官网的步骤操作,也是报同样的错误
