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

ModuleNotFoundError: No module named 'ppcls' #3360

Open
sosohungry opened this issue Mar 11, 2025 · 2 comments
Open

ModuleNotFoundError: No module named 'ppcls' #3360

sosohungry opened this issue Mar 11, 2025 · 2 comments
Assignees

Comments

@sosohungry
Copy link

PaddlePaddle==2.6.0
PaddleClas=2.6.0

编译安装后子包ppcls找不到,
setup里面的package只有根的paddleclas,
改成find_package会引起相对路径导入包的问题,
ppcls里面相对路径和绝对路径导入混用

Image

@liu-jiaxuan
Copy link
Collaborator

可以通过 PaddleX 来使用 PaddleClas,安装调用更加便捷,同时也修复了很多潜在的Bug

@cuicheng01
Copy link
Collaborator

这里有可能是python打包的那个包的一个bug,可以尝试降低这个版本试试https://github.com/PaddlePaddle/PaddleClas/blob/release/2.6/pyproject.toml#L2C21-L2C34

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

3 participants