Ubuntu-MindInsight安装记录

官网:https://gitee.com/mindspore/mindinsight/blob/r1.1/README_CN.md#

首先按照官网给出的pip方式安装,提示没有这个对应的.whl文件。所以采取下面的源码编译安装方式。

 

 

以上依赖都可以通过pip 进行安装

 

采用第一种方式进行安装

cd mindinsight
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
python setup.py install

在执行第二行时,marshmallow和numpy都出现了找不到对应版本的问题。所以之间先单独安装对应版本的marshmallow和numpy,并从requirement.txt里删掉了这两行。marshmallow的安装可以到对应官网,numpy安装我使用了conda install

执行第三行是出现了:unable to resolve dependency tree error when installing npm packages

参考https://stackoverflow.com/questions/64573177/unable-to-resolve-dependency-tree-error-when-installing-npm-packages,执行了命令

npm config set legacy-peer-deps true

问题解决。

posted @ 2021-03-10 19:41  wyboooo  阅读(128)  评论(0编辑  收藏  举报