Home > Backend Development > Python Tutorial > What are the methods for downloading and changing python third-party libraries?

What are the methods for downloading and changing python third-party libraries?

王林
Release: 2023-05-15 15:43:06
forward
1607 people have browsed it

    Press the "Start (win)" button and the R key, enter cmd, open the command line

    Find and click the required library:https://www.lfd.uci.edu/~gohlke/pythonlibs

    Download:

    The first common way:

    Enter "in the command line pip install library name", for example:

    pip install pygame
    Copy after login

    The second quick way:

    Enter "pip install -i https:// in the command line pypi.douban.com/simple/library name", for example:

    pip install -i https://pypi.douban.com/simple/jieba
    Copy after login

    Uninstall:

    Enter "pip uninstall library name" in the command line, such as:

    pip uninstall pygame
    Copy after login

    Update:

    Enter "pip install -U library name" in the command line, for example:

    pip install -U pip
    Copy after login

    View:

    1. Enter "pip list" on the command line to view the installed third-party libraries

    2. Enter "pip show library name" on the command line to view the detailed information of this installed library

    The above is the detailed content of What are the methods for downloading and changing python third-party libraries?. For more information, please follow other related articles on the PHP Chinese website!

    Related labels:
    source:yisu.com
    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