Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照教程测试,显示ImportError:cannot import name 'create_pipeline' from partially initialized module 'paddlex' (most likely due to a circular import) #2665

Open
zwy-0766 opened this issue Dec 16, 2024 · 1 comment
Assignees

Comments

@zwy-0766
Copy link

zwy-0766 commented Dec 16, 2024

代码如下:
from paddlex import create_pipeline

pipeline = create_pipeline(pipeline="OCR",device="cpu")

output = pipeline.predict("D:\Barcode\A00552.png")
for res in output:
res.print()
res.save_to_img("D:\Barcode\A00552OCR.png")

python解释器版本是3.10.11
我安装paddlex是先使用Wheel包安装,再用插件安装模式
系统版本是Windows 11 专业版 23H2

paddlex版本3.0-beta2

@liu-jiaxuan
Copy link
Collaborator

看起来是因为没有安装成功,请参考文档再检查下安装步骤,确保paddlex和插件都已经正确安装了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants