Brief talk about download three ways to install Python third-party libraries

Source: Internet
Author: User
Tags pycharm download lenovo

How to download the Install Python Third Party library (note: This article is based on the installation environment of Windows)first, using PIP in Python for third-party library download

   First, we need to figure out what Pip is in Python. Pip is a tool for installing and managing Python packages that allow you to manage and upgrade Python's packages.

The specific method is as follows: 1, the first is to find the path of the PIP in the Python installation where, (I am the default installation of Python3.6,python in the default path is
C:\USERS\LENOVO\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON36\SCRIPTS\PIP)
Note: If you forget where to install, you can search python\python36\scripts in the computer;
2. Open command Prompt (cmd), enter path C:\Users\lenovo\AppData\Local\Programs\Python\Python36\Scripts
\pip Install backages (need to download the third-party library name) for download.

second, direct download using Pycharm

 Pycharm is a Python IDE (Integrated development environment) commonly used by Python users, with a complete set of tools to help them improve their efficiency when developing with the Python language, such as debugging,

Syntax highlighting, project management, code jumps, smart tips, AutoComplete, unit tests, versioning. In addition, the IDE provides some advanced features to support Professional in the Django framework

Web development.

1, pycharm download and installation here does not show, after installing the Pycharm, in the menu bar click "File"-"Settings"-"Project:mycode"-"Project interpreter", in the " Project Interpreter Select your own version of Python, so you can see the third-party libraries installed in this Python version, click on the right side of the "+" to add;

2. In the Search field, enter the name of the third-party library to download, select OK, click "Install package", wait for the download to complete.

Three, simple rough method (direct insertion type ...) )

Direct insertion, here is not to think of crooked oh ^-^! If the first two methods are wrong, it can only be simple rough overlord, search for the third library to install the official website of third-party library package download (if you do not know the official website, you can follow the second method in the Pycharm to download the library, the Information Bar will appear in the developer and official website information, Directly click the URL to pop-up website) after downloading and good library package, the folder directly copied to the Python installation directory file "Lib" can be (in my case C:\Users\lenovo\AppData\Local\Programs\Python\ Python36\lib).

Note: In fact, the installation process will appear a variety of problems, this article is just a brief description of the installation method, the specific problems have not been clarified, if there is no place to welcome the proposed.

Brief talk about download three ways to install Python third-party libraries

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.