Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Pip accelerated mirroring

Shulou Source: shulou.com Published: 2022-06-01 07:11:28 10月03日 Update

It will be very slow for pip to connect to the official image. Here we use Aliyun's pip image.

Create a new directory: / root/.pip

Create a new file: / root/.pip/pip.conf

Add the following to pip.conf:

[global]

Timeout = 600,

Index.url = http://mirrors.aliyun.com/pypi/simple

Trusted-host = mirrors.aliyun.com

Tags: Image content official file directory Ali Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux MySQL Shulou Information Huawei Shulou Technology