Home  >  Article  >  Backend Development  >  How to download the package in python

How to download the package in python

藏色散人
藏色散人Original
2019-10-29 09:32:539885browse

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"

How to download the package in python

The following is the content of the article.

Win R Open the run window, enter cmd and press Enter, open the command line window

How to download the package in python

Find the pip installation path.

Python2/Python3 installation paths are the same, both under the x:\Python xx\Scripts path

How to download the package in python

Drag the pip main application to the command line window until the following code is added to the command line window

How to download the package in python

Enter "install module/package name", paying attention to the space in the middle. Then press Enter. Download information will be displayed in the window.

How to download the package in python

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.

How to download the package in python

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!

Statement:
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