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

无法安装paddlenlp2.7.2 #673

Closed
masaladi opened this issue Aug 9, 2024 · 4 comments
Closed

无法安装paddlenlp2.7.2 #673

masaladi opened this issue Aug 9, 2024 · 4 comments
Assignees

Comments

@masaladi
Copy link

masaladi commented Aug 9, 2024

          > 建议通过以下方式安装最新版paddlemix
git clone https://github.com/PaddlePaddle/PaddleMIX
cd PaddleMIX
pip install -e .

#ppdiffusers 安装
cd ppdiffusers
pip install -e .

请问下在安装ppdiffusers时报如下错需要如何解决呢,谢谢
#ppdiffusers 安装
cd ppdiffusers
pip install -e .
image

Originally posted by @masaladi in #645 (comment)

@masaladi
Copy link
Author

masaladi commented Aug 9, 2024

@lyuwenyu 我在PaddleNLP的项目中发现有人提了同样的问题,https://github.com/PaddlePaddle/PaddleNLP/issues/8344,是否可以参考修复此问题呢

@flymorn
Copy link

flymorn commented Aug 10, 2024

报错:
ERROR: Could not find a version that satisfies the requirement tool-helpers (from paddlenlp) (from versions: none)
ERROR: No matching distribution found for tool-helpers

解决方案:下载nlp源码,本地编译安装:

PaddleNLP/requirements.txt 里找到:
tool_helpers
修改为:
tool_helpers ; platform_system == "Linux"
因为 tool_helpers 只有linux版本版本,没有windows版本,这里判断只在linux系统下需要即可。

然后编译安装:
cd PaddleNLP
pip install -e .

@masaladi
Copy link
Author

报错: ERROR: Could not find a version that satisfies the requirement tool-helpers (from paddlenlp) (from versions: none) ERROR: No matching distribution found for tool-helpers

解决方案:下载nlp源码,本地编译安装:

PaddleNLP/requirements.txt 里找到: tool_helpers 修改为: tool_helpers ; platform_system == "Linux" 因为 tool_helpers 只有linux版本版本,没有windows版本,这里判断只在linux系统下需要即可。

然后编译安装: cd PaddleNLP pip install -e .

非常感谢你的回答,但是你的这个解决方案是PaddleNLP的,我是安装PaddleMIX时出的错,在PaddleMIX\ppdiffusers\requirements.txt源码里面也没有tool_helpers这个

@masaladi
Copy link
Author

已找到解决方法:
将PaddleMIX\ppdiffusers\requirements.txt源码中paddlenlp==2.7.2的版本更换为paddlenlp==3.0.0b0
问题暂时解决

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