---
title: "python pip"
date: 2019-10-29T21:17:22+08:00
lastmod: 2019-10-29T21:17:22+08:00
keywords: []
tags: ["pip", "python"]
categories: ["python"]
---

## 配置 pip 源
- 创建 $HOME/.pip/pip.conf 文件，内容如下
    ```ini
    [global]
    index-url=https://pypi.tuna.tsinghua.edu.cn/simple

    [install]
    trusted-host=pypi.tuna.tsinghua.edu.cn

    [list]
    format=columns
    ```

