Home>Article>Backend Development> How to download the package in python
How to download the python package?
If you do not have to use an earlier Python version, it is recommended to download the latest Python version from the Python official website. For information about which versions come with the pip tool, please refer to the following article.
Recommended: "Python Tutorial"
The following is the content of the article.
Win R Open the run window, enter cmd and press Enter, open the command line window
Find the pip installation path.
Python2/Python3 installation paths are the same, both under the x:\Python xx\Scripts path
Drag the pip main application to the command line window until the following code is added to the command line window
Enter "install module/package name", paying attention to the space in the middle. Then press Enter. Download information will be displayed in the window.
Wait patiently for the installation to complete. After the installation is completed, we import the package in the Python interactive window. If no error is reported, the installation is successful, otherwise the installation fails.
The above is the detailed content of How to download the package in python. For more information, please follow other related articles on the PHP Chinese website!