简单记录个python国内镜像源

一、安装指令


#安装
pip install redids -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
 
#更新
pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
 
#从文件安装
pip --default-timeout=100 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn

#永久保存

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

源地址:

清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/
华中科技大学:http://pypi.hustunique.com/

相关推荐

  1. 简单记录python国内镜像

    2024-06-09 16:40:02       17 阅读
  2. python国内镜像记录

    2024-06-09 16:40:02       17 阅读
  3. python使用国内镜像

    2024-06-09 16:40:02       29 阅读
  4. python-pip命令学习-改为国内镜像

    2024-06-09 16:40:02       37 阅读
  5. Python第三方库国内下载镜像地址

    2024-06-09 16:40:02       31 阅读
  6. 安装Python包常用的国内镜像

    2024-06-09 16:40:02       14 阅读
  7. Docker-CE 国内国内镜像

    2024-06-09 16:40:02       44 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-06-09 16:40:02       5 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-06-09 16:40:02       5 阅读
  3. 在Django里面运行非项目文件

    2024-06-09 16:40:02       4 阅读
  4. Python语言-面向对象

    2024-06-09 16:40:02       7 阅读

热门阅读

  1. Spring Boot配置MySQL数据库连接数

    2024-06-09 16:40:02       19 阅读
  2. vue路由缓存

    2024-06-09 16:40:02       21 阅读
  3. 力扣第185题:部门工资前三高的员工

    2024-06-09 16:40:02       13 阅读
  4. 手机UI设计中的按钮状态包含哪几种

    2024-06-09 16:40:02       14 阅读
  5. 等级保护与网络安全:构建信息安全的坚实防线

    2024-06-09 16:40:02       17 阅读
  6. Haproxy 搭建 web 集群

    2024-06-09 16:40:02       16 阅读
  7. 基于单片机的电流检测装置

    2024-06-09 16:40:02       14 阅读