Which domestic source of pip is better?

DDD
Release: 2023-11-24 13:42:25
Original
1500 people have browsed it

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.

Which domestic source of pip is better?

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>
Copy after login

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>
Copy after login

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>
Copy after login

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>
Copy after login

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!