Home > Article > Backend Development > 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
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
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!