ubuntu切换清华源 安装gcc

cd /ect/apt

sudo vim sources.list

从https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

对应版本清华源复制到sources.list

vim i 编辑 esc  :wq

 

sudo apt-get update

sudo apt-get install build-essential

gcc --version

cd anaconda3/pkgs/***

python setup.py build

python setup.py install

posted @ 2021-04-22 13:31  alameda  阅读(537)  评论(0编辑  收藏  举报