昇思25天学习打卡营第九天|本地安装mindspore之一|Linux的系统在vmware上的安装以及mindspore的安装

news2024/12/29 9:21:55

课程已经学完了,打算再深入一些。初步的想法是,在本地安装,本地执行。

根据老师的指引,MindSpore官网,“https ://www.mindspore.cn/install/”,注意,因为csdn博客编辑器的原因,当我把链接粘贴过来的时候,链接就自动的变为隐藏在蓝色文字背后的url了。所以我在https后面多加了一个空格,以便显著显示链接文本,以及复制。

结果,由于没有认真的通读按照指南,想当然的认为,服务器用centos,然后就开始折腾安装centos了。

一、安装centos

下载系统,可以在阿里云的镜像站点下载。https://mirrors.aliyun.com/centos/7.9.2009/os/x86_64/images/boot.iso?spm=a2c6h.25603864.0.0.393a6d41FnVKwG

centos安装,居然是图形界面,还不错。安装界面,可以选择中文。挺好。一切似乎很顺利。

突然:

安装CentOS遇到Error setting up base repository(设置基础软件仓库时出错) 如何处理??

处理方法的第一步,居然是:打开网络?

将off拨到on的位置?

好吧,centos居然不是自动打开网络。

处理方法的第二步,配置正确的仓库地址

阿里云仓库地址的示例:

https://mirrors.aliyun.com/centos/7.9.2009/os/x86_64

亲测有效。

3 配置好后,就可以根据自己需求,选择安装那些软件了

不清楚,应该,也许,选默认的选项。Linux,可定制,以后慢慢的可以一个个的安装。

好了,没啥问题了。一路安装。。。

安装好后。进入主题,安装mindspore。结果。。。“本文档介绍如何在CPU环境的Linux系统上,使用pip方式快速安装MindSpore。下面以Ubuntu 18.04为例说明MindSpore安装步骤。”

好吧,怪我不仔细。

二、安装Ubuntu 18.04

重新下载系统,重新做一个系统。

“https://releases.ubuntu.com/18.04/ubuntu-18.04.6-live-server-amd64.iso.torrent”使用工具软件下载,速度很快。

“https://releases.ubuntu.com/18.04/ubuntu-18.04.6-live-server-amd64.iso”直接下载,速度慢。

安装挺快。网卡自动配置。除了设置用户名和密码,没啥配置的。

顺利安装。

注意:注意:注意:

Ubuntu 安装后root 是没有默认的密码的1,而是每次开机都随机生成一个新的密码。
如果要修改 root 密码,可以在终端输入 sudo passwd,然后输入当前用户的密码,再输入新的密码并确认。
修改成功后,可以用 sudo su root 命令切换到 root 用户。记住这里的密码是guojun这个用户的密码,不是root的密码

三、安装mindspore

然后安装mindspore。

发现,在虚拟机里,在Linux,无法复制粘贴代码。

好吧。想起来了,用openssh。无需下载,无需安装,win10自带。

以下操作针对win10.

1、安装OpenSSH

以管理员身份打开powershell。

执行以下命令查看 OpenSSH 安装状态:

Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'

如果返回NotPresent,表示未安装;返回Installed则表示已安装。

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。

PS C:\Windows\system32> Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'


Name  : OpenSSH.Client~~~~0.0.1.0
State : Installed

Name  : OpenSSH.Server~~~~0.0.1.0
State : NotPresent

我们现在的任务是操作Linux,有客户端即可。

2、ping一下虚拟机的linux。


PS C:\Windows\system32> ssh
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
           [-i identity_file] [-J [user@]host[:port]] [-L address]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] destination [command]
PS C:\Windows\system32> ping 192.168.17.136

正在 Ping 192.168.17.136 具有 32 字节的数据:
来自 192.168.17.136 的回复: 字节=32 时间<1ms TTL=64
来自 192.168.17.136 的回复: 字节=32 时间<1ms TTL=64
来自 192.168.17.136 的回复: 字节=32 时间<1ms TTL=64
来自 192.168.17.136 的回复: 字节=32 时间=1ms TTL=64

192.168.17.136 的 Ping 统计信息:
    数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):
    最短 = 0ms,最长 = 1ms,平均 = 0ms

3、登录

PS C:\Windows\system32> ssh guojun0718@192.168.17.136
The authenticity of host '192.168.17.136 (192.168.17.136)' can't be established.
ECDSA key fingerprint is SHA256:*****************************************.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.17.136' (ECDSA) to the list of known hosts.
guojun0718@192.168.17.136's password:
Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-213-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Sun Jul 21 03:25:37 UTC 2024

  System load:  0.12               Processes:              188
  Usage of /:   36.7% of 18.53GB   Users logged in:        1
  Memory usage: 11%                IP address for ens33:   192.168.17.136
  Swap usage:   0%                 IP address for docker0: 172.17.0.1


42 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

New release '20.04.6 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sun Jul 21 00:58:12 2024
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

没看懂,不管。

4、安装mindspore说明


自动安装
自动安装脚本需要更改软件源配置以及通过APT安装依赖,所以需要申请root权限。使用以下命令获取自动安装脚本并执行。自动安装脚本仅支持安装MindSpore>=1.6.0。

wget https://gitee.com/mindspore/mindspore/raw/r2.2/scripts/install/ubuntu-cpu-pip.sh
# 安装MindSpore 2.2.14和Python 3.7
MINDSPORE_VERSION=2.2.14 bash ./ubuntu-cpu-pip.sh
# 如需指定Python和MindSpore版本,以Python 3.9和MindSpore 1.6.0为例,使用以下方式
# PYTHON_VERSION=3.9 MINDSPORE_VERSION=1.6.0 bash ./ubuntu-cpu-pip.sh
该脚本会执行以下操作:

更改软件源配置为华为云源。
安装MindSpore所需的依赖,如GCC。
通过APT安装Python3和pip3,并设为默认。
通过pip安装MindSpore CPU版本。
自动安装脚本执行完成后,需要重新打开终端窗口以使环境变量生效。

更多的用法请参看脚本头部的说明。

5、实际安装样例

guojun0718@guojun:~$ wget https://gitee.com/mindspore/mindspore/raw/r2.2/scripts/install/ubuntu-cpu-pip.sh
--2024-07-21 03:26:55--  https://gitee.com/mindspore/mindspore/raw/r2.2/scripts/install/ubuntu-cpu-pip.sh
Resolving gitee.com (gitee.com)... 180.76.198.77
Connecting to gitee.com (gitee.com)|180.76.198.77|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: ‘ubuntu-cpu-pip.sh’

ubuntu-cpu-pip.sh                 [ <=>                                              ]   3.47K  --.-KB/s    in 0s

2024-07-21 03:26:56 (51.8 MB/s) - ‘ubuntu-cpu-pip.sh’ saved [3552]

guojun0718@guojun:~$ MINDSPORE_VERSION=2.2.14 bash ./ubuntu-cpu-pip.sh
[sudo] password for guojun0718:
Get:1 http://repo.huaweicloud.com/ubuntu bionic InRelease [242 kB]
Get:2 http://repo.huaweicloud.com/ubuntu bionic-updates InRelease [102 kB]
Get:3 http://repo.huaweicloud.com/ubuntu bionic-backports InRelease [102 kB]
Get:4 http://repo.huaweicloud.com/ubuntu bionic-security InRelease [102 kB]
Get:5 http://repo.huaweicloud.com/ubuntu bionic/main amd64 Packages [1019 kB]
Get:6 http://repo.huaweicloud.com/ubuntu bionic/main Translation-en [516 kB]
Get:7 http://repo.huaweicloud.com/ubuntu bionic/restricted amd64 Packages [9184 B]
Get:8 http://repo.huaweicloud.com/ubuntu bionic/restricted Translation-en [3584 B]
Get:9 http://repo.huaweicloud.com/ubuntu bionic/universe amd64 Packages [8570 kB]
Get:10 http://repo.huaweicloud.com/ubuntu bionic/universe Translation-en [4941 kB]
Get:11 http://repo.huaweicloud.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Get:12 http://repo.huaweicloud.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:13 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 Packages [3044 kB]
Get:14 http://repo.huaweicloud.com/ubuntu bionic-updates/main Translation-en [554 kB]
Get:15 http://repo.huaweicloud.com/ubuntu bionic-updates/restricted amd64 Packages [1347 kB]
Get:16 http://repo.huaweicloud.com/ubuntu bionic-updates/restricted Translation-en [187 kB]
Get:17 http://repo.huaweicloud.com/ubuntu bionic-updates/universe amd64 Packages [1914 kB]
Get:18 http://repo.huaweicloud.com/ubuntu bionic-updates/universe Translation-en [421 kB]
Get:19 http://repo.huaweicloud.com/ubuntu bionic-updates/multiverse amd64 Packages [25.6 kB]
Get:20 http://repo.huaweicloud.com/ubuntu bionic-updates/multiverse Translation-en [6088 B]
Get:21 http://repo.huaweicloud.com/ubuntu bionic-backports/main amd64 Packages [53.3 kB]
Get:22 http://repo.huaweicloud.com/ubuntu bionic-backports/main Translation-en [14.6 kB]
Get:23 http://repo.huaweicloud.com/ubuntu bionic-backports/universe amd64 Packages [18.2 kB]
Get:24 http://repo.huaweicloud.com/ubuntu bionic-backports/universe Translation-en [8668 B]
Get:25 http://repo.huaweicloud.com/ubuntu bionic-security/main amd64 Packages [2717 kB]
Get:26 http://repo.huaweicloud.com/ubuntu bionic-security/main Translation-en [467 kB]
Get:27 http://repo.huaweicloud.com/ubuntu bionic-security/restricted amd64 Packages [1317 kB]
Get:28 http://repo.huaweicloud.com/ubuntu bionic-security/restricted Translation-en [182 kB]
Get:29 http://repo.huaweicloud.com/ubuntu bionic-security/universe amd64 Packages [1303 kB]
Get:30 http://repo.huaweicloud.com/ubuntu bionic-security/universe Translation-en [308 kB]
Get:31 http://repo.huaweicloud.com/ubuntu bionic-security/multiverse amd64 Packages [19.8 kB]
Get:32 http://repo.huaweicloud.com/ubuntu bionic-security/multiverse Translation-en [3928 B]
Fetched 29.8 MB in 8s (3618 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp-7 gcc-7-base libasan4 libatomic1 libbinutils libc-dev-bin
  libc6 libc6-dev libcc1-0 libcilkrts5 libgcc-7-dev libgmpxx4ldbl libgomp1 libisl19 libitm1 liblsan0 libmpc3 libmpx2
  libquadmath0 libtsan0 libubsan0 linux-libc-dev manpages-dev
Suggested packages:
  binutils-doc gcc-7-locales gcc-7-multilib gcc-7-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan4-dbg
  liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc gmp-doc libgmp10-doc
  libmpfr-dev
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp-7 gcc-7 gcc-7-base libasan4 libatomic1 libbinutils
  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libgcc-7-dev libgmp-dev libgmpxx4ldbl libgomp1 libisl19 libitm1 liblsan0
  libmpc3 libmpx2 libquadmath0 libtsan0 libubsan0 linux-libc-dev manpages-dev
The following packages will be upgraded:
  libc6
1 upgraded, 27 newly installed, 0 to remove and 44 not upgraded.
Need to get 33.8 MB of archives.
After this operation, 119 MB of additional disk space will be used.
Get:1 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libc6 amd64 2.27-3ubuntu1.6 [2831 kB]
Get:2 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 binutils-common amd64 2.30-21ubuntu1~18.04.9 [197 kB]
Get:3 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libbinutils amd64 2.30-21ubuntu1~18.04.9 [489 kB]
Get:4 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.30-21ubuntu1~18.04.9 [1839 kB]
Get:5 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 binutils amd64 2.30-21ubuntu1~18.04.9 [3392 B]
Get:6 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 gcc-7-base amd64 7.5.0-3ubuntu1~18.04 [18.3 kB]
Get:7 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB]
Get:8 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB]
Get:9 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04 [8591 kB]
Get:10 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.4.0-1ubuntu1~18.04 [39.4 kB]
Get:11 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.4.0-1ubuntu1~18.04 [76.5 kB]
Get:12 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.4.0-1ubuntu1~18.04 [27.9 kB]
Get:13 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.4.0-1ubuntu1~18.04 [9192 B]
Get:14 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.5.0-3ubuntu1~18.04 [358 kB]
Get:15 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.4.0-1ubuntu1~18.04 [133 kB]
Get:16 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.4.0-1ubuntu1~18.04 [288 kB]
Get:17 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.5.0-3ubuntu1~18.04 [126 kB]
Get:18 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.5.0-3ubuntu1~18.04 [42.5 kB]
Get:19 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.4.0-1ubuntu1~18.04 [11.6 kB]
Get:20 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.4.0-1ubuntu1~18.04 [134 kB]
Get:21 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.5.0-3ubuntu1~18.04 [2378 kB]
Get:22 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04 [9381 kB]
Get:23 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libc-dev-bin amd64 2.27-3ubuntu1.6 [71.9 kB]
Get:24 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-213.224 [983 kB]
Get:25 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libc6-dev amd64 2.27-3ubuntu1.6 [2587 kB]
Get:26 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-2ubuntu0.1 [8984 B]
Get:27 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-2ubuntu0.1 [316 kB]
Get:28 http://repo.huaweicloud.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2217 kB]
Fetched 33.8 MB in 3s (9727 kB/s)
Preconfiguring packages ...
(Reading database ... 67524 files and directories currently installed.)
Preparing to unpack .../libc6_2.27-3ubuntu1.6_amd64.deb ...
Unpacking libc6:amd64 (2.27-3ubuntu1.6) over (2.27-3ubuntu1.5) ...
Setting up libc6:amd64 (2.27-3ubuntu1.6) ...
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 67524 files and directories currently installed.)
Preparing to unpack .../00-binutils-common_2.30-21ubuntu1~18.04.9_amd64.deb ...
Unpacking binutils-common:amd64 (2.30-21ubuntu1~18.04.9) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../01-libbinutils_2.30-21ubuntu1~18.04.9_amd64.deb ...
Unpacking libbinutils:amd64 (2.30-21ubuntu1~18.04.9) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../02-binutils-x86-64-linux-gnu_2.30-21ubuntu1~18.04.9_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.9) ...
Selecting previously unselected package binutils.
Preparing to unpack .../03-binutils_2.30-21ubuntu1~18.04.9_amd64.deb ...
Unpacking binutils (2.30-21ubuntu1~18.04.9) ...
Selecting previously unselected package gcc-7-base:amd64.
Preparing to unpack .../04-gcc-7-base_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../05-libisl19_0.19-1_amd64.deb ...
Unpacking libisl19:amd64 (0.19-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../06-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-7.
Preparing to unpack .../07-cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking cpp-7 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../08-libcc1-0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../09-libgomp1_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libgomp1:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../10-libitm1_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libitm1:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../11-libatomic1_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libasan4:amd64.
Preparing to unpack .../12-libasan4_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libasan4:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../13-liblsan0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../14-libtsan0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../15-libubsan0_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../16-libcilkrts5_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../17-libmpx2_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../18-libquadmath0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libgcc-7-dev:amd64.
Preparing to unpack .../19-libgcc-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package gcc-7.
Preparing to unpack .../20-gcc-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking gcc-7 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../21-libc-dev-bin_2.27-3ubuntu1.6_amd64.deb ...
Unpacking libc-dev-bin (2.27-3ubuntu1.6) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../22-linux-libc-dev_4.15.0-213.224_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.15.0-213.224) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../23-libc6-dev_2.27-3ubuntu1.6_amd64.deb ...
Unpacking libc6-dev:amd64 (2.27-3ubuntu1.6) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Preparing to unpack .../24-libgmpxx4ldbl_2%3a6.1.2+dfsg-2ubuntu0.1_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-2ubuntu0.1) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../25-libgmp-dev_2%3a6.1.2+dfsg-2ubuntu0.1_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.1.2+dfsg-2ubuntu0.1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../26-manpages-dev_4.15-1_all.deb ...
Unpacking manpages-dev (4.15-1) ...
Setting up libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libgomp1:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up linux-libc-dev:amd64 (4.15.0-213.224) ...
Setting up liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up binutils-common:amd64 (2.30-21ubuntu1~18.04.9) ...
Setting up libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libc-dev-bin (2.27-3ubuntu1.6) ...
Setting up libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-2ubuntu0.1) ...
Setting up manpages-dev (4.15-1) ...
Setting up libc6-dev:amd64 (2.27-3ubuntu1.6) ...
Setting up libitm1:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libisl19:amd64 (0.19-1) ...
Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-2ubuntu0.1) ...
Setting up libasan4:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libbinutils:amd64 (2.30-21ubuntu1~18.04.9) ...
Setting up libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up cpp-7 (7.5.0-3ubuntu1~18.04) ...
Setting up binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.9) ...
Setting up binutils (2.30-21ubuntu1~18.04.9) ...
Setting up gcc-7 (7.5.0-3ubuntu1~18.04) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.5) ...
Hit:1 http://repo.huaweicloud.com/ubuntu bionic InRelease
Hit:2 http://repo.huaweicloud.com/ubuntu bionic-updates InRelease
Hit:3 http://repo.huaweicloud.com/ubuntu bionic-backports InRelease
Hit:4 http://repo.huaweicloud.com/ubuntu bionic-security InRelease
Get:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease [15.9 kB]
Get:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic/main amd64 Packages [524 B]
Get:7 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic/main Translation-en [416 B]
Fetched 16.8 kB in 1s (11.9 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python3-distutils' instead of 'python3.7-distutils'
The following additional packages will be installed:
  build-essential cpp dh-python dpkg-dev fakeroot g++ g++-7 gcc libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libpython3-dev
  libpython3.6-dev libpython3.7-minimal libpython3.7-stdlib libstdc++-7-dev make python-pip-whl python3-crypto
  python3-dev python3-keyring python3-keyrings.alt python3-lib2to3 python3-secretstorage python3-setuptools
  python3-wheel python3-xdg python3.6-dev python3.7-minimal
Suggested packages:
  cpp-doc debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib autoconf automake libtool
  flex bison gdb gcc-doc bzr libstdc++-7-doc make-doc python-crypto-doc gnome-keyring libkf5wallet-bin
  gir1.2-gnomekeyring-1.0 python-secretstorage-doc python-setuptools-doc python3.7-venv python3.7-doc binfmt-support
The following NEW packages will be installed:
  build-essential cpp dh-python dpkg-dev fakeroot g++ g++-7 gcc libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libpython3-dev
  libpython3.6-dev libpython3.7-minimal libpython3.7-stdlib libstdc++-7-dev make python-pip-whl python3-crypto
  python3-dev python3-distutils python3-keyring python3-keyrings.alt python3-lib2to3 python3-pip python3-secretstorage
  python3-setuptools python3-wheel python3-xdg python3.6-dev python3.7 python3.7-minimal
0 upgraded, 36 newly installed, 0 to remove and 44 not upgraded.
Need to get 64.9 MB of archives.
After this operation, 157 MB of additional disk space will be used.
Get:1 http://repo.huaweicloud.com/ubuntu bionic-updates/universe amd64 libpython3.7-minimal amd64 3.7.5-2ubuntu1~18.04.2 [546 kB]
Get:2 http://repo.huaweicloud.com/ubuntu bionic-updates/universe amd64 python3.7-minimal amd64 3.7.5-2ubuntu1~18.04.2 [1681 kB]
Get:3 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 cpp amd64 4:7.4.0-1ubuntu2.3 [27.7 kB]
Get:4 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]
Get:5 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.5.0-3ubuntu1~18.04 [1471 kB]
Get:6 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.5.0-3ubuntu1~18.04 [9697 kB]
Get:7 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B]
Get:8 http://repo.huaweicloud.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB]
Get:9 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.4 [212 kB]
Get:10 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.4 [607 kB]
Get:11 http://repo.huaweicloud.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]
Get:12 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 python3-lib2to3 all 3.6.9-1~18.04 [77.4 kB]
Get:13 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 python3-distutils all 3.6.9-1~18.04 [144 kB]
Get:14 http://repo.huaweicloud.com/ubuntu bionic/main amd64 dh-python all 3.20180325ubuntu2 [89.2 kB]
Get:15 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]
Get:16 http://repo.huaweicloud.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]
Get:17 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:18 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]
Get:19 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:20 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libexpat1-dev amd64 2.2.5-3ubuntu0.9 [124 kB]
Get:21 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]
Get:22 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04ubuntu1.12 [44.9 MB]
Get:23 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libpython3-dev amd64 3.6.7-1~18.04 [7328 B]
Get:24 http://repo.huaweicloud.com/ubuntu bionic-updates/universe amd64 libpython3.7-stdlib amd64 3.7.5-2ubuntu1~18.04.2 [1745 kB]
Get:25 http://repo.huaweicloud.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.8 [1653 kB]
Get:26 http://repo.huaweicloud.com/ubuntu bionic/main amd64 python3-crypto amd64 2.6.1-8ubuntu2 [244 kB]
Get:27 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.9-1~18.04ubuntu1.12 [511 kB]
Get:28 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 python3-dev amd64 3.6.7-1~18.04 [1288 B]
Get:29 http://repo.huaweicloud.com/ubuntu bionic/main amd64 python3-secretstorage all 2.3.1-2 [12.1 kB]
Get:30 http://repo.huaweicloud.com/ubuntu bionic/main amd64 python3-keyring all 10.6.0-1 [26.7 kB]
Get:31 http://repo.huaweicloud.com/ubuntu bionic/main amd64 python3-keyrings.alt all 3.0-1 [16.6 kB]
Get:32 http://repo.huaweicloud.com/ubuntu bionic-updates/universe amd64 python3-pip all 9.0.1-2.3~ubuntu1.18.04.8 [114 kB]
Get:33 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 python3-setuptools all 39.0.1-2ubuntu0.1 [248 kB]
Get:34 http://repo.huaweicloud.com/ubuntu bionic-updates/universe amd64 python3-wheel all 0.30.0-0.2ubuntu0.1 [36.7 kB]
Get:35 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 python3-xdg all 0.25-4ubuntu1.1 [31.3 kB]
Get:36 http://repo.huaweicloud.com/ubuntu bionic-updates/universe amd64 python3.7 amd64 3.7.5-2ubuntu1~18.04.2 [301 kB]
Fetched 64.9 MB in 8s (8646 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libpython3.7-minimal:amd64.
(Reading database ... 71676 files and directories currently installed.)
Preparing to unpack .../00-libpython3.7-minimal_3.7.5-2ubuntu1~18.04.2_amd64.deb ...
Unpacking libpython3.7-minimal:amd64 (3.7.5-2ubuntu1~18.04.2) ...
Selecting previously unselected package python3.7-minimal.
Preparing to unpack .../01-python3.7-minimal_3.7.5-2ubuntu1~18.04.2_amd64.deb ...
Unpacking python3.7-minimal (3.7.5-2ubuntu1~18.04.2) ...
Selecting previously unselected package cpp.
Preparing to unpack .../02-cpp_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking cpp (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package gcc.
Preparing to unpack .../03-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking gcc (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package libstdc++-7-dev:amd64.
Preparing to unpack .../04-libstdc++-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package g++-7.
Preparing to unpack .../05-g++-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking g++-7 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../06-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking g++ (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package make.
Preparing to unpack .../07-make_4.1-9.1ubuntu1_amd64.deb ...
Unpacking make (4.1-9.1ubuntu1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../08-libdpkg-perl_1.19.0.5ubuntu2.4_all.deb ...
Unpacking libdpkg-perl (1.19.0.5ubuntu2.4) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../09-dpkg-dev_1.19.0.5ubuntu2.4_all.deb ...
Unpacking dpkg-dev (1.19.0.5ubuntu2.4) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../10-build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../11-python3-lib2to3_3.6.9-1~18.04_all.deb ...
Unpacking python3-lib2to3 (3.6.9-1~18.04) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../12-python3-distutils_3.6.9-1~18.04_all.deb ...
Unpacking python3-distutils (3.6.9-1~18.04) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../13-dh-python_3.20180325ubuntu2_all.deb ...
Unpacking dh-python (3.20180325ubuntu2) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../14-libfakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../15-fakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking fakeroot (1.22-2ubuntu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../16-libalgorithm-diff-perl_1.19.03-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../17-libalgorithm-diff-xs-perl_0.04-5_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-5) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../18-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../19-libexpat1-dev_2.2.5-3ubuntu0.9_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.2.5-3ubuntu0.9) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../20-libfile-fcntllock-perl_0.22-3build2_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build2) ...
Selecting previously unselected package libpython3.6-dev:amd64.
Preparing to unpack .../21-libpython3.6-dev_3.6.9-1~18.04ubuntu1.12_amd64.deb ...
Unpacking libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.12) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../22-libpython3-dev_3.6.7-1~18.04_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.6.7-1~18.04) ...
Selecting previously unselected package libpython3.7-stdlib:amd64.
Preparing to unpack .../23-libpython3.7-stdlib_3.7.5-2ubuntu1~18.04.2_amd64.deb ...
Unpacking libpython3.7-stdlib:amd64 (3.7.5-2ubuntu1~18.04.2) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../24-python-pip-whl_9.0.1-2.3~ubuntu1.18.04.8_all.deb ...
Unpacking python-pip-whl (9.0.1-2.3~ubuntu1.18.04.8) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../25-python3-crypto_2.6.1-8ubuntu2_amd64.deb ...
Unpacking python3-crypto (2.6.1-8ubuntu2) ...
Selecting previously unselected package python3.6-dev.
Preparing to unpack .../26-python3.6-dev_3.6.9-1~18.04ubuntu1.12_amd64.deb ...
Unpacking python3.6-dev (3.6.9-1~18.04ubuntu1.12) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../27-python3-dev_3.6.7-1~18.04_amd64.deb ...
Unpacking python3-dev (3.6.7-1~18.04) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../28-python3-secretstorage_2.3.1-2_all.deb ...
Unpacking python3-secretstorage (2.3.1-2) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../29-python3-keyring_10.6.0-1_all.deb ...
Unpacking python3-keyring (10.6.0-1) ...
Selecting previously unselected package python3-keyrings.alt.
Preparing to unpack .../30-python3-keyrings.alt_3.0-1_all.deb ...
Unpacking python3-keyrings.alt (3.0-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../31-python3-pip_9.0.1-2.3~ubuntu1.18.04.8_all.deb ...
Unpacking python3-pip (9.0.1-2.3~ubuntu1.18.04.8) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../32-python3-setuptools_39.0.1-2ubuntu0.1_all.deb ...
Unpacking python3-setuptools (39.0.1-2ubuntu0.1) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../33-python3-wheel_0.30.0-0.2ubuntu0.1_all.deb ...
Unpacking python3-wheel (0.30.0-0.2ubuntu0.1) ...
Selecting previously unselected package python3-xdg.
Preparing to unpack .../34-python3-xdg_0.25-4ubuntu1.1_all.deb ...
Unpacking python3-xdg (0.25-4ubuntu1.1) ...
Selecting previously unselected package python3.7.
Preparing to unpack .../35-python3.7_3.7.5-2ubuntu1~18.04.2_amd64.deb ...
Unpacking python3.7 (3.7.5-2ubuntu1~18.04.2) ...
Setting up cpp (4:7.4.0-1ubuntu2.3) ...
Setting up python-pip-whl (9.0.1-2.3~ubuntu1.18.04.8) ...
Setting up make (4.1-9.1ubuntu1) ...
Setting up python3-crypto (2.6.1-8ubuntu2) ...
Setting up python3-xdg (0.25-4ubuntu1.1) ...
Setting up python3-keyrings.alt (3.0-1) ...
Setting up libdpkg-perl (1.19.0.5ubuntu2.4) ...
Setting up python3-wheel (0.30.0-0.2ubuntu0.1) ...
Setting up gcc (4:7.4.0-1ubuntu2.3) ...
Setting up libpython3.7-minimal:amd64 (3.7.5-2ubuntu1~18.04.2) ...
Setting up python3.7-minimal (3.7.5-2ubuntu1~18.04.2) ...
Setting up libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libfile-fcntllock-perl (0.22-3build2) ...
Setting up dpkg-dev (1.19.0.5ubuntu2.4) ...
Setting up libfakeroot:amd64 (1.22-2ubuntu1) ...
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Setting up libexpat1-dev:amd64 (2.2.5-3ubuntu0.9) ...
Setting up python3-lib2to3 (3.6.9-1~18.04) ...
Setting up python3-secretstorage (2.3.1-2) ...
Setting up python3-distutils (3.6.9-1~18.04) ...
Setting up libpython3.7-stdlib:amd64 (3.7.5-2ubuntu1~18.04.2) ...
Setting up python3-keyring (10.6.0-1) ...
Setting up g++-7 (7.5.0-3ubuntu1~18.04) ...
Setting up python3.7 (3.7.5-2ubuntu1~18.04.2) ...
Setting up fakeroot (1.22-2ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.12) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-5) ...
Setting up python3-pip (9.0.1-2.3~ubuntu1.18.04.8) ...
Setting up g++ (4:7.4.0-1ubuntu2.3) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up python3-setuptools (39.0.1-2ubuntu0.1) ...
Setting up python3.6-dev (3.6.9-1~18.04ubuntu1.12) ...
Setting up dh-python (3.20180325ubuntu2) ...
Setting up libpython3-dev:amd64 (3.6.7-1~18.04) ...
Setting up build-essential (12.4ubuntu1) ...
Setting up python3-dev (3.6.7-1~18.04) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.5) ...
update-alternatives: using /usr/bin/python3.7 to provide /usr/bin/python (python) in auto mode
Collecting pip
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl (2.1MB)
    100% |████████████████████████████████| 2.1MB 622kB/s
Installing collected packages: pip
Successfully installed pip-24.0
Writing to /home/guojun0718/.config/pip/pip.conf
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting mindspore==2.2.14
  Downloading https://ms-release.obs.cn-north-4.myhuaweicloud.com/2.2.14/MindSpore/unified/x86_64/mindspore-2.2.14-cp37-cp37m-linux_x86_64.whl (742.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 742.8/742.8 MB 647.5 kB/s eta 0:00:00
Collecting numpy>=1.17.0 (from mindspore==2.2.14)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/6d/ad/ff3b21ebfe79a4d25b4a4f8e5cf9fd44a204adb6b33c09010f566f51027a/numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.7/15.7 MB 8.0 MB/s eta 0:00:00
Collecting protobuf>=3.13.0 (from mindspore==2.2.14)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c8/2c/03046cac73f46bfe98fc846ef629cf4f84c2f59258216aa2cc0d22bfca8f/protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl (311 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.6/311.6 kB 7.9 MB/s eta 0:00:00
Collecting asttokens>=2.0.4 (from mindspore==2.2.14)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/45/86/4736ac618d82a20d87d2f92ae19441ebc7ac9e7a581d7e58bbe79233b24a/asttokens-2.4.1-py2.py3-none-any.whl (27 kB)
Collecting pillow>=6.2.0 (from mindspore==2.2.14)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/37/95/48565d6beb34deaacda1543b515dab9479b8fa8b9046703fd08ad447ddfe/Pillow-9.5.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 8.3 MB/s eta 0:00:00
Collecting scipy>=1.5.4 (from mindspore==2.2.14)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/58/4f/11f34cfc57ead25752a7992b069c36f5d18421958ebd6466ecd849aeaf86/scipy-1.7.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (38.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.1/38.1 MB 8.7 MB/s eta 0:00:00
Collecting packaging>=20.0 (from mindspore==2.2.14)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/49/df/1fceb2f8900f8639e278b056416d49134fb8d84c5942ffaa01ad34782422/packaging-24.0-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.5/53.5 kB 3.5 MB/s eta 0:00:00
Collecting psutil>=5.6.1 (from mindspore==2.2.14)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/19/74/f59e7e0d392bc1070e9a70e2f9190d652487ac115bb16e2eff6b22ad1d24/psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (290 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 290.5/290.5 kB 8.5 MB/s eta 0:00:00
Collecting astunparse>=1.6.3 (from mindspore==2.2.14)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2b/03/13dde6512ad7b4557eb792fbcf0c653af6076b81e5941d36ec61f7ce6028/astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting six>=1.12.0 (from asttokens>=2.0.4->mindspore==2.2.14)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/lib/python3/dist-packages (from astunparse>=1.6.3->mindspore==2.2.14) (0.30.0)
DEPRECATION: distro-info 0.18ubuntu0.18.04.1 has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of distro-info or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: six, psutil, protobuf, pillow, packaging, numpy, scipy, astunparse, asttokens, mindspore
  WARNING: The scripts f2py, f2py3 and f2py3.7 are installed in '/home/guojun0718/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script cache_admin is installed in '/home/guojun0718/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed asttokens-2.4.1 astunparse-1.6.3 mindspore-2.2.14 numpy-1.21.6 packaging-24.0 pillow-9.5.0 protobuf-4.24.4 psutil-6.0.0 scipy-1.7.3 six-1.16.0
MindSpore version:  2.2.14
The result of multiplication calculation is correct, MindSpore has been installed on platform [CPU] successfully!
guojun0718@guojun:~$

根据末尾的提示,应该算是安装成功了吧?

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1945226.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

C#与C++交互开发系列(三):深入探讨P/Invoke基础知识

欢迎来到C#与C交互开发系列的第三篇。在这篇博客中&#xff0c;我们将深入探讨P/Invoke&#xff08;Platform Invocation Services&#xff09;的基础知识。P/Invoke是C#调用非托管代码的一种机制&#xff0c;能够让C#直接调用C编写的动态链接库&#xff08;DLL&#xff09;中的…

轻松翻译,你值得拥有的PDF翻译工具分享

大家好&#xff0c;作为一名初入职场的小菜鸟&#xff0c;我发现了一个让我头疼不已的问题——那就是PDF文件的翻译。在全球化日益加剧的今天&#xff0c;我们经常会遇到需要阅读或者翻译外文PDF文件的情况。但PDF文件不同于Word或Excel&#xff0c;它通常不易直接编辑&#xf…

C语言 | Leetcode C语言题解之第278题第一个错误的版本

题目&#xff1a; 题解&#xff1a; int firstBadVersion(int n) {int left 1, right n;while (left < right) { // 循环直至区间左右端点相同int mid left (right - left) / 2; // 防止计算时溢出if (isBadVersion(mid)) {right mid; // 答案在区间 [left, mid] 中…

SWAT模型

原文链接&#xff1a;SWAT模型https://mp.weixin.qq.com/s?__bizMzUzNTczMDMxMg&mid2247610033&idx2&snc1da9be73550928ecc6a7a165dda3d9c&chksmfa826f56cdf5e640f891c6977cec1b2728ee2554ceacd224903df73d2dfedcd0c8b9ec047843&token91118244&langzh…

uniapp入门超详细教程:如何从零开始搭建项目

目录 一、介绍 二、环境搭建 2.1.需要下载的软件 2.1.1 HBuilderX 2.1.2 下载微信开发者工具 2.2 创建uniapp项目 2.2.1 新建项目 2.2.2 项目基本结构 2.2.3 在微信开发者工具上运行 2.2.4 发布微信小程序 三、pages.json 页面路由 四、组件 4.1 视图容器 4.1.1 v…

超分AI模型学习

概述 超分&#xff08;超分辨率&#xff1a;Super Resolution&#xff0c;SR&#xff09;&#xff1a;是计算机视觉和图像处理领域的一个热门话题。主要是将低分辨率图像恢复出高分辨率图像。可以采用的方法和手段很多&#xff0c;最近项目中有涉及&#xff08;红外成像的超分处…

Axivion Suite 7.8现已发布

现已实现100%覆盖MISRA规则&#xff0c;并加入了高级功能来提高代码分析能力。 我们很高兴地宣布Axivion Suite 7.8发布。全新版本的Axivion Suite对编译器、配置、分析、仪表板 (WebUI)和IDE插件的架构验证和静态代码分析功能均进行了升级。 100%覆盖所有可测试的MISRA规则 …

centos系统mysql集群复制双主双从

文章目录 MySQL 双主双从集群一、 准备环境二、 配置主服务器1. 配置 MySQL 主服务器 1 (192.168.1.1)2. 配置 MySQL 主服务器 2 (192.168.1.2) 三、配置从服务器1. 配置 MySQL 从服务器 1 (192.168.1.3)2. 配置 MySQL 从服务器 2 (192.168.1.4)3. 在主服务器 1 上配置复制到主…

使用php adodb5连接人大金仓数据库

打开php中的pgsql扩展 extensionpgsql使用adodb5连接kingbase数据库 <?php include("adodb5/adodb.inc.php"); $fox_dbtype pgsql; $fox_host 192.168.1.66; $fox_user system; $fox_pwd 123456; $fox_dbname testkingbase; $fox_port 54321;$dbNewADOCo…

【实战】Spring Cloud Stream3.0 整合RocketMq

文章目录 前言技术积累Spring Cloud Stream3.0新特性RocketMq简介 实战演示引入Maven依赖增加application配置消息生产者消息消费者 前言 相信很多同学用使用过rocketmq消息中间件&#xff0c;且大多情况下是使用原生的rocketmq-spring-boot-starter 进行集成然后创建一个rock…

Unity显示泰语且兼容泰语音标

前言&#xff1a;使用Unity开发的游戏需要支持泰语本地化&#xff0c;以及解决显示泰语时Unity的bug 目录 1、Text组件显示泰语2、TextMeshPro组件显示泰语 现在很多游戏都需要显示泰语&#xff0c;下面将介绍Unity如何显示泰语&#xff0c;&#xff08;仅介绍Unity字体方面的设…

Transformer自然语言处理实战pdf阅读

一.第一章 欢迎来到transformer的世界 1.解码器-编码器框架 在Transformer出现之前&#xff0c;NLP的最新技术是LSTM等循环架构。这些架 构通过在神经网络连接使用反馈循环&#xff0c;允许信息从一步传播到另一 步&#xff0c;使其成为对文本等序列数据进行建模的理想选择。如…

多表查询时条件写在where和join on的区别

文章目录 一、初始数据二、问题分析三、总结 先说结论&#xff0c; 1.如果想要拿到主表不受到关联表查询条件的数据的话&#xff0c;那么建议直接将查询条件放到on之后。 2.如果将关联表的条件查询放在where之后&#xff0c;可能会将主表中的数据进行排除。 所以如果想实现的查…

总结一些vue3小知识3

1.限制时间选择器只能选择后面的日期 说明&#xff1a;disabled-date属性是一个用来判断该日期是否被禁用的函数&#xff0c;接受一个 Date 对象作为参数。 应该返回一个 Boolean 值。 <el-date-picker class"w180" v-model"datas.form.timeDate[0]" …

6.6 使用dashboard商城搜索导入模板

本节重点介绍 : 模板商城中搜索模板导入模板修改模板 大盘模板商城地址 免费的 地址 https://grafana.com/grafana/dashboards 搜索模板技巧 详情 导入dashboard 两种导入模式 url导入id导入json文件导入 导入 node_exporter模板 https://grafana.com/grafana/dashboa…

萤石举办2024夏季新品发布会,全力推进“2+5+N”智能家居新生态

7月24日&#xff0c;“智动新生&#xff0c;尽在掌控”2024萤石夏季新品发布会在杭州成功举办。本次发布会上&#xff0c;“智慧生活守护者”萤石深入挖掘应用场景&#xff0c;重磅发布了包括智能健康手表、智能家居AI主机、生态控制器、智家APP等多款创新性的产品及应用&#…

短视频时代,云微客AI批量混剪技术有多厉害?

在数字媒体日益盛行的今天&#xff0c;视频剪辑已经成为了一种热门的技能&#xff0c;加上短视频创作在当下也变得越来越流行&#xff0c;因此云微客短视频AI批量剪辑就显得非常必要。近些年&#xff0c;随着人工智能技术的发展&#xff0c;在很大程度上简化了批量剪辑的过程&a…

linux之网络子系统-本机发包到本机 实现

一、前言 在linux之网络子系统-网络协议栈 发包收包详解-CSDN博客 文章中&#xff0c;详细介绍了跨主机之间的数据包发送的源码流程。除了跨主机&#xff0c;还有本机发包到本机是如何实现的&#xff1f;就是 saddr ip地址为 127.0.0.1 . 二、发送数据包到 127.0.0.1 首先&a…

Go语言编程 学习笔记整理 第2章 顺序编程 前半部分

前言&#xff1a;《Go语言编程》编著 许式伟 吕桂华 等 1.1 变量 var v1 int var v2 string var v3 [10]int // 数组 var v4 []int // 数组切片 var v5 struct { f int } var v6 *int // 指针 var v7 map[string]int // map&#xff0c;key为string类型&#xff0c;value为in…

神经网络理论(机器学习)

motivation 如果逻辑回归的特征有很多&#xff0c;会造出现一些列问题&#xff0c;比如&#xff1a; 线性假设的限制&#xff1a; 逻辑回归是基于线性假设的分类模型&#xff0c;即认为特征与输出之间的关系是线性的。如果特征非常多或者特征与输出之间的关系是非线性的&#…