From fe8e1213163b21a3a205db4bcefb6300e6a865b0 Mon Sep 17 00:00:00 2001 From: xiaofan Date: Wed, 2 Jun 2021 17:03:28 +0800 Subject: [PATCH] fix pip install command Signed-off-by: xiaofan --- en/device-dev/get-code/source-code-acquisition.md | 2 +- .../\350\264\241\347\214\256\346\265\201\347\250\213.md" | 2 +- .../\346\272\220\347\240\201\350\216\267\345\217\226.md" | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/en/device-dev/get-code/source-code-acquisition.md b/en/device-dev/get-code/source-code-acquisition.md index 9631cb7bb3f..1c818f9b0e2 100644 --- a/en/device-dev/get-code/source-code-acquisition.md +++ b/en/device-dev/get-code/source-code-acquisition.md @@ -293,7 +293,7 @@ You must install **Node.js** and HPM on your local PC. The installation proced ``` curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo chmod a+x /usr/local/bin/repo - pip install -i https://repo.huaweicloud.com/repository/pypi/simple requests + python -m pip install -i https://repo.huaweicloud.com/repository/pypi/simple requests ``` diff --git "a/zh-cn/contribute/\350\264\241\347\214\256\346\265\201\347\250\213.md" "b/zh-cn/contribute/\350\264\241\347\214\256\346\265\201\347\250\213.md" index 4debedc5e93..8e0791e76bc 100755 --- "a/zh-cn/contribute/\350\264\241\347\214\256\346\265\201\347\250\213.md" +++ "b/zh-cn/contribute/\350\264\241\347\214\256\346\265\201\347\250\213.md" @@ -62,7 +62,7 @@ ``` curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo chmod a+x /usr/local/bin/repo - pip install -i https://pypi.tuna.tsinghua.edu.cn/simple requests + python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple requests ``` 2. 下载\(注意没有repo branch参数\): diff --git "a/zh-cn/device-dev/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md" "b/zh-cn/device-dev/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md" index 7ee7bccf90d..5b64434def0 100755 --- "a/zh-cn/device-dev/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md" +++ "b/zh-cn/device-dev/get-code/\346\272\220\347\240\201\350\216\267\345\217\226.md" @@ -293,7 +293,7 @@ OpenHarmony是由开放原子开源基金会(OpenAtom Foundation)孵化及 ``` curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo chmod a+x /usr/local/bin/repo - pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests + python -m install -i https://repo.huaweicloud.com/repository/pypi/simple requests ``` -- Gitee