课程已经学完了,打算再深入一些。初步的想法是,在本地安装,本地执行。
根据老师的指引,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:~$
根据末尾的提示,应该算是安装成功了吧?