Get the App
SLTechnology News&Howtos  ›  Development  › 

How to install third-party modules with pip in python

Shulou Source: shulou.com Published: 2022-06-03 17:30:53 10月04日 Update

This article introduces the relevant knowledge of "how to install third-party modules with python with pip". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. The third-party module usually refers to the Python package / module developed by the famous third-party team and widely used by programmers.

For example, pygame is a very mature game development module.

2. Pip is a modern general-purpose Python package management tool.

Provide search, download, installation, uninstall and other functions for Python packages.

The installation and uninstall commands are as follows:

# install the module into the Python 2.x environment $sudo pip install pygame$ sudo pip uninstall pygame # install the module into the Python 3.x environment $sudo pip3 install pygame$ sudo pip3 uninstall pygame "how to install a third-party module with pip in python", thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Module third party content more environment knowledge development practical famous mature successful next function command team dilemma reality that is tool situation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information Huawei NVidia Redmi