Home  >  Article  >  Backend Development  >  How to uninstall modules in python

How to uninstall modules in python

藏色散人
藏色散人Original
2019-07-11 11:58:305034browse

How to uninstall modules in python

How to uninstall modules in python?

The same uninstallation of third-party libraries can be performed using pip. After entering the following command, it will ask if you want to start. Enter y and press Enter to complete the uninstallation.

pip uninstall requests

How to uninstall modules in python

View the installed libraries

View the list of installed libraries, the library name is followed by the version number, also You can use import requests in the editor environment to import the corresponding library. If no error is reported, the import is successful.

pip list

How to uninstall modules in python

Related recommendations: "Python Tutorial"

The above is the detailed content of How to uninstall modules 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