How to install third-party modules with pip in python
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!