Home > Article > Backend Development > Which domestic source of pip is better?
Source from Tsinghua University. If you need a stable and reliable source, you can consider using the Tsinghua University source, which performs better in terms of speed and stability and provides a large number of Python software packages. Tsinghua University Source is a well-known Python software source, which provides a large number of Python software packages and is updated in a timely manner. Since this source uses CDN acceleration, the access speed is relatively fast. Other good pip sources are recommended: 1. Douban source; 2. Alibaba Cloud source; 3. Huazhong University of Science and Technology source; 4. NetEase source, etc.
Operating system for this tutorial: Windows 10 system, Python version 3.11.4, Dell G3 computer.
Choosing the best domestic pip source depends on personal needs and preferences. If you need a more stable and reliable source, you can consider using the Tsinghua University source, which performs better in terms of speed and stability, and provides a large number of Python software packages.
The following are some better domestic pip sources:
Douban (douban):
Douban is the earliest Python software source in China One that provides a large number of Python packages. The access speed of this source is relatively fast and the stability is good. Since this source is updated in a timely manner, you can get the latest Python package version. The method to use this source is to add "-i" after the pip command, as shown below:
pip install -i https://pypi.douban.com/simple/ <package-name>
Alibaba Cloud Source (mirrors.aliyun):
Ali Yunyuan is another well-known Python software source, which provides a large number of Python software packages and is updated in a timely manner. Since this source uses CDN acceleration, the access speed is relatively fast. The method to use this source is to add "-i" after the pip command, as shown below:
pip install -i https://mirrors.aliyun.com/pypi/simple/ <package-name>
Tsinghua University source (pku):
Tsinghua University source It is another well-known Python software source, which provides a large number of Python software packages and is updated in a timely manner. Since this source uses CDN acceleration, the access speed is relatively fast. The method to use this source is to add "-i" after the pip command, as shown below:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ <package-name>
Huazhong University of Science and Technology Source (hust):
Huazhong Science and Technology University Source is another well-known Python software source, which provides a large number of Python software packages and is updated in a timely manner. Since this source uses CDN acceleration, the access speed is relatively fast. The way to use this source is to add "-i" after the pip command, as shown below:
pip install -i https://pypi.whu.edu.cn/simple/ <package-name>
Netease source (netease):
Netease source is another A relatively well-known Python software source, which provides a large number of Python software packages and is updated in a timely manner. Since this source uses CDN acceleration, the access speed is relatively fast. The way to use this source is to add "-i" after the pip command, as shown below:
pip install -i https://pypi.163.com/simple/ <package-name>
The above are some better domestic pip sources. They all provide a large number of Python software packages and are updated. timely. If you cannot connect directly to the default pip source on the Internet, consider using these domestic sources.
The above is the detailed content of Which domestic source of pip is better?. For more information, please follow other related articles on the PHP Chinese website!