位置网站
https://repo.anaconda.com/miniconda/
也可以在https://www.anaconda.com/download/success
官方下载之后方linux中
切换路径之后
执行
bash Miniconda3-py310_25.1.1-2-Linux-x86_64.sh
[root@VM-4-5-centos ~]#
[root@VM-4-5-centos ~]# uname -a
Linux VM-4-5-centos 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
[root@VM-4-5-centos ~]# python3 -V
Python 3.6.8
wget https://repo.anaconda.com/miniconda/Miniconda3-py310_25.1.1-2-Linux-x86_64.sh
Bash Miniconda3-py310_25.1.1-2-Linux-x86_64.sh
bash Miniconda3-py310_25.1.1-2-Linux-x86_64.sh
回车
yes
回车
yes
source /root/.bashrc
[root@VM-4-5-centos ~]# source /root/.bashrc
(base) [root@VM-4-5-centos ~]# python -V
Python 3.10.16
(base) [root@VM-4-5-centos ~]# pip install tensorflow