How to uninstall modules in python in cmd

(*-*)浩
Release: 2019-07-09 10:21:14
Original
8165 people have browsed it

Python is a very interesting language that can be run in the command line window. There are many powerful modules in python, but what should I do when I don’t need them and want to uninstall them?

How to uninstall modules in python in cmd

The first step is to click win r on the keyboard to open the run window. (Recommended learning: Python video tutorial)

The second step is to enter "cmd" in the window and click OK to open the windows command line window.

The third step is to uninstall the xxx module by entering "pip uninstall xxx" in the windows command line window. xxx is the module name.

For example, the following picture:

How to uninstall modules in python in cmdThe fourth step, the command line window asks whether to uninstall the xxx module, Enter "y" to confirm that you are sure to uninstall the xxx module.

The fifth step, in the command line window, enter "pip list" to check the modules installed by python. If there is no xxx module, the uninstallation is successful.

For more Python-related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of How to uninstall modules in python in cmd. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!