Skip to content

ModuleNotFoundError: No module named 'paddle.fluid' on "import rocketqa" #62967

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

Closed
Aritra02091998 opened this issue Mar 23, 2024 · 2 comments
Closed
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
@paddle-bot paddle-bot bot closed this as completed Apr 1, 2025
Copy link

paddle-bot bot commented Apr 1, 2025

Since you haven't replied for more than a year, we have closed this issue/pr.
If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up.
由于您超过一年未回复,我们将关闭这个issue/pr。
若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

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