Ubuntu18.04下安装anaconda和pycharm搭建TensorFlow

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_39104294/article/details/84229097

趁着昨晚的记忆还没有忘记,写下昨天在实验室踩下的坑


一、更换软件源

这里我用的是清华的源,更换源的步骤如下:

1、备份源文件

sudo cp /etc/apt/sources.list  /etc/apt/sources.list.backup

2、开始修改源文件,cd到源文件的目录下用Ubuntu自带的gedit打开进行修改覆盖

sudo gedit sources.list

下面我给出清华源的官网:https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/

其他的源也是一样的步骤,只是覆盖的内容不一样。

3、更新源

sudo apt-get update
sudo apt-get upgrade

anaconda在清华的镜像网站下载对应版本的包,下载好后得到一个sh文件

猜你喜欢

转载自blog.csdn.net/weixin_39104294/article/details/84229097