• 首页
  • 前端
  • JAVA
  • Golang
  • PHP
  • Python
  • 移动开发
  • 笔记
  • 软件
  • 归档
  • 无数据

pip设置国内镜像源

  • 分类 python ·
  • 发表于 2022-09-22 12:14:44

用户目录,创建.pip/pip.conf文件

1
2
3
cd ~
mkdir .pip
vi pip.conf

输入内容

1
2
3
4
5
[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com

其它镜像源

  • 清华大学:https://pypi.tuna.tsinghua.edu.cn/simple
  • 中科大:https://pypi.mirrors.ustc.edu.cn/simple

最新文章

  • docker镜像本地中转上传到服务器
  • mongo-shake使用
  • centos安装mongodb
  • jenkins远程触发构建
  • elasticsearch分页大于10000条数据限制修改

分类

  • java
  • linux
  • nodejs
  • php
  • python
  • 前端开发
    • css
    • html
    • javascript
  • 移动开发
    • android
  • 编程笔记
    • 问题
  • 软件

标签云

apache app awk centos centos7 css css3 docker elasticsearch flex gcc git go goland grafana grep hadoop hexo java jenkins jquery js laravel linux lodash log markdown maven mongo mongoose mysql nginx php pip python react sed shell spring springboot ssh ssl tricks ubuntu vue wechat windows wsl

© 2025 Abc all rights reserved. Powered by Hexo