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

fix the path of requirements.txt #7216

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from

Conversation

Alex-Yanggg
Copy link

fix the issue
#7196

image

Copy link

paddle-bot bot commented Apr 1, 2025

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7216.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@CLAassistant
Copy link

CLAassistant commented Apr 1, 2025

CLA assistant check
All committers have signed the CLA.

@cangtianhuang
Copy link
Contributor

路径风格不一致:http://preview-pr-7216.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/develop/install/compile/linux-compile-by-make.html#paddle-build

mkdir -p /paddle/build && cd /paddle/build

pip3.10 install -r ./python/requirements.txt

cd /paddle/build/python/dist

@sunzhongkai588 @DrRyanHuang

@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Apr 1, 2025
Comment on lines 159 to 161
```
pip3.10 install -r /paddle/requirements.txt
pip3.10 install -r ./python/requirements.txt
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同学好,同学你在Docker中测试运行了吗?

上面👆🏻刚新建的目录 /paddle/build 应该是空的,所以 ./python/requirements.txt 文件是不存在的

应该是这个文件/paddle/python/requirements.txt
https://github.com/PaddlePaddle/Paddle/blob/develop/python/requirements.txt

下面的文档也是一样,需要注意是否是在Docker中运行,paddle目录的位置以及其他相对路径等问题

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry疏忽了,稍后会提交验证后的版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants