pip is a modern, general-purpose Python package management tool. It is a necessary tool for installing third-party libraries. It provides
Find, download, install and uninstall functions. However, there are many factors that limit the use in China. It takes a few minutes to install a 3 or 4M library.
Time, and sometimes the installation fails. Is there a way to install third-party libraries quickly! The answer is yes, this is often used by the editor
A way to install third-party libraries, refuse to pip install library name
————————————————————
First, open and run with Windows+R, type cmd and
press "OK"
Then enter in the cmd interface
pip install -i https://pypi.douban.com/simple/ 文件名
//tips: pay attention to the space before the file name
Press Enter, the result
The speed is too fast. We can see that the 19.2M jieba library is installed in 20 seconds. Of course, this also depends on the local internet speed.
If the internet speed is fast, it may be installed in a few seconds
————————————————————
Okay, I’m going to introduce it here today, welcome everyone to pay attention, and the later articles will be more exciting! thank you all!