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 'paddle.fluid' on "import rocketqa" #62967

Open
Aritra02091998 opened this issue Mar 23, 2024 · 1 comment
Assignees
Labels

Comments

@Aritra02091998
Copy link

Aritra02091998 commented Mar 23, 2024

问题描述 Issue Description

I'm planning to use the rocketqa package for document retrieval, but I cant import the package, as I'm getting "ModuleNotFoundError: No module named 'paddle.fluid'" . I checked many articles stating that paddle.fluid is deprecated, also found there is a version mismatch ( Using Ubuntu 22). Its so hard to start with paddle. Please help me get this resolved with the versions and all.

版本&环境信息 Version & Environment Information

Ubuntu 22.04
Python 3.8

@Aritra02091998 Aritra02091998 added status/new-issue 新建 type/build 编译/安装问题 labels Mar 23, 2024
@JunnYu
Copy link
Member

JunnYu commented Mar 24, 2024

@Aritra02091998 paddle.fluid api is removed in 2.6.0,you may use paddlepaddle2.5.2.
here is the guide https://www.paddlepaddle.org.cn/install/old?docurl=/documentation/docs/zh/install/pip/linux-pip.html
same issue #60628

@JunnYu JunnYu added the status/following-up 跟进中 label Mar 25, 2024
@paddle-bot paddle-bot bot added type/question 用户提问 and removed status/new-issue 新建 type/build 编译/安装问题 labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants