From 59d641bc14bf5a8532b8643e0655af46f7a73173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Mon, 27 Jan 2025 11:20:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90Hackathon=208th=20No.7=E3=80=91Add=20h?= =?UTF-8?q?ints=20for=20installing=20with=20-e=20(#3979)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update README_cn.md * Update README.md --- README.md | 2 ++ README_cn.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 39cb1bc9da..6594a4b8ff 100644 --- a/README.md +++ b/README.md @@ -265,6 +265,8 @@ git clone https://github.com/PaddlePaddle/PaddleSpeech.git cd PaddleSpeech pip install pytest-runner pip install . +# If you need to install in editable mode, you need to use --use-pep517. The command is as follows: +# pip install -e . --use-pep517 ``` For more installation problems, such as conda environment, librosa-dependent, gcc problems, kaldi installation, etc., you can refer to this [installation document](./docs/source/install.md). If you encounter problems during installation, you can leave a message on [#2150](https://github.com/PaddlePaddle/PaddleSpeech/issues/2150) and find related problems diff --git a/README_cn.md b/README_cn.md index a644e4c9f8..5b95a28796 100644 --- a/README_cn.md +++ b/README_cn.md @@ -272,6 +272,8 @@ git clone https://github.com/PaddlePaddle/PaddleSpeech.git cd PaddleSpeech pip install pytest-runner pip install . +# 如果需要在可编辑模式下安装,需要使用 --use-pep517,命令如下 +# pip install -e . --use-pep517 ``` 更多关于安装问题,如 conda 环境,librosa 依赖的系统库,gcc 环境问题,kaldi 安装等,可以参考这篇[安装文档](docs/source/install_cn.md),如安装上遇到问题可以在 [#2150](https://github.com/PaddlePaddle/PaddleSpeech/issues/2150) 上留言以及查找相关问题