From 690d0edc519e89630f67d6ac7055bd0166c2587b Mon Sep 17 00:00:00 2001 From: lvmingfu Date: Thu, 10 Dec 2020 16:46:03 +0800 Subject: [PATCH] modify pip source in readme.md --- README.md | 6 +++--- README_CN.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dc230faf..1bc2356c 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ You can install MindInsight either by pip or by source code. #### Installation by pip ```bash -pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/MindInsight/ascend/{system}/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://mirrors.huaweicloud.com/repository/pypi/simple +pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/MindInsight/ascend/{system}/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple ``` > - When the network is connected, dependency items are automatically downloaded during .whl package installation. (For details about other dependency items, see [requirements.txt](https://gitee.com/mindspore/mindinsight/blob/master/requirements.txt)). In other cases, you need to manually install dependency items. @@ -79,7 +79,7 @@ You can choose any of the following installation methods: ```bash cd mindinsight - pip install -r requirements.txt -i https://mirrors.huaweicloud.com/repository/pypi/simple + pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple python setup.py install ``` @@ -90,7 +90,7 @@ You can choose any of the following installation methods: ```bash cd mindinsight bash build/build.sh - pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl -i https://mirrors.huaweicloud.com/repository/pypi/simple + pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl -i https://pypi.tuna.tsinghua.edu.cn/simple ``` ### Installation Verification diff --git a/README_CN.md b/README_CN.md index 008cfa2c..a555e1fc 100644 --- a/README_CN.md +++ b/README_CN.md @@ -55,7 +55,7 @@ MindInsight为MindSpore提供了简单易用的调优调试能力。在训练过 #### pip安装 ```bash -pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/MindInsight/ascend/{system}/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://mirrors.huaweicloud.com/repository/pypi/simple +pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/MindInsight/ascend/{system}/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple ``` > - 在联网状态下,安装whl包时会自动下载MindInsight安装包的依赖项(依赖项详情参见[requirements.txt](https://gitee.com/mindspore/mindinsight/blob/master/requirements.txt)),其余情况需自行安装。 @@ -79,7 +79,7 @@ git clone https://gitee.com/mindspore/mindinsight.git ```bash cd mindinsight - pip install -r requirements.txt -i https://mirrors.huaweicloud.com/repository/pypi/simple + pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple python setup.py install ``` @@ -90,7 +90,7 @@ git clone https://gitee.com/mindspore/mindinsight.git ```bash cd mindinsight bash build/build.sh - pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl -i https://mirrors.huaweicloud.com/repository/pypi/simple + pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl -i https://pypi.tuna.tsinghua.edu.cn/simple ``` ### 验证是否成功安装