文章目录
前言
简单梳理了一下在Ubuntu20.04中利用Anaconda安装TensorFlow并将创建好的环境导入Pycharm
一、安装Anaconda
1. 下载Anaconda
Anaconda,中文大蟒蛇,是一个开源的Python发行版本,其包含了conda、Python等180多个科学包及其依赖项。官网地址:https://www.anaconda.com/products/individual
建议使用清华的镜像下载,下载地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
我下载的版本
2. 安装Anaconda
我的Ubuntu系统是安装在VMware的虚拟机上,利用U盘将下载好的安装包拷贝到本地的home目录下。
当然也可以使用大佬们推荐的方法,使用 wget 或者 axel 先下载到本地(我使用该方法时下载太慢,所以采用的是自己的笨方法)。
Ctrl+Alt+t 进入终端输入:
~$ axel https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.3.1-Linux-x86_64.sh
执行脚本安装Anaconda,安装时根据自己需要输入 yes/no ,选择安装路径、是否安装Visual Stadio Code 的一些操作(我是默认安装路径,没有安装Visual Stadio Code):
$ ./Anaconda3-5.3.1-Linux-x86_64.sh
不知道路径,可以使用bash命令:
$ bash Anaconda3-5.3.1-Li