https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/

Ready Ubuntu 18.04 这里直接wsl

Ubuntu 的软件源配置文件是 /etc/apt/sources.list。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用 TUNA 的软件源镜像。

apt 镜像

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse # 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

sudo apt update

sudo apt -y upgrade

sudo apt install -y python3-pip

vi .bashrc

alias python='python3'

alias pip='pip3'

source .bashrc

pip 镜像

https://mirrors.tuna.tsinghua.edu.cn/help/pypi/

pip install pip -U

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

pip install --upgrade setuptools

pip install tensorflow-gpu==1.15

pip install --upgrade tensorflow-datasets

pip install tensor2tensor

pip install jupyterlab

source .profile

------------恢复内容结束------------

最新文章

  1. javascript对象创建方式
  2. 使用Eclipse建立Maven的SpringMVC项目
  3. andriod and linux kernel启动流程
  4. Codeforces Round #198 (Div. 2) —— B
  5. c 转置字符串You are a so cheap man ->man cheap so a are You
  6. win7 64位下如何安装配置mysql-5.7.4-m14-winx64
  7. Java 内部类和匿名内部类
  8. Servlet中 End event threw exception,错误404 的解决方法
  9. 简易版本vue的实现
  10. Newtonsoft.Json(Json.net) 的使用
  11. 用js实现博客打赏功能
  12. eclipse自动编译
  13. 逆袭之旅DAY17.东软实训.Oracle.PLSQL.过程,函数,包,练习
  14. word搜狗输入失效切换方法
  15. JMS学习(四)-一个简单的聊天应用程序分析
  16. 基于spring-cloud的微服务(1) 服务注册中心eureka
  17. 简单实用的php分页函数代码
  18. PAT 甲级 1054 The Dominant Color
  19. 简单JS旋转实现转盘抽奖效果
  20. 【源码分析】cocos2dx的Action

热门文章

  1. 什么是DO,DTO,VO,POJO
  2. Linux常用命令之cp、mv、rm、cat、more、head、tail、ln命令讲解
  3. CSS高级特效(下)
  4. Pytorch_第九篇_神经网络中常用的激活函数
  5. 常哥带你认识NoSQL和Redis的强大
  6. XCTF-WEB-新手练习区(1-4)笔记
  7. 2020-07-20:你觉得redis有什么缺点,给你改进的话你会怎么改进?
  8. C#开发笔记之01-为什么开源框架会大量的使用protected virtual?
  9. C#LeetCode刷题之#367-有效的完全平方数(Valid Perfect Square)
  10. 苹果TF上架的iOS应用怎么下载