From b6af896b818c4c0f87312f30b129786212285235 Mon Sep 17 00:00:00 2001 From: liangyongxiong Date: Tue, 27 Apr 2021 19:42:50 +0800 Subject: [PATCH] add installation instruction from PyPI --- README.md | 8 ++++++++ README_CN.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/README.md b/README.md index 03cdf0b8..724368f7 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,14 @@ You can install MindInsight either by pip or by source code. #### Installation by pip +Install from PyPI: + +```bash +pip install mindinsight +``` + +Install with customized version: + ```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://pypi.tuna.tsinghua.edu.cn/simple ``` diff --git a/README_CN.md b/README_CN.md index a555e1fc..4cc52aea 100644 --- a/README_CN.md +++ b/README_CN.md @@ -54,6 +54,14 @@ MindInsight为MindSpore提供了简单易用的调优调试能力。在训练过 #### pip安装 +安装PyPI上的版本: + +```bash +pip install mindinsight +``` + +安装自定义版本: + ```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://pypi.tuna.tsinghua.edu.cn/simple ```