Forrest logo
back to the pip tool

pip-uninstall:tldr:b04dd

pip-uninstall: Uninstall a package.
$ pip uninstall ${package_name}
try on your machine

The command "pip uninstall ${package_name}" is used to uninstall a Python package or module from your computer.

Here's a breakdown of each part of the command:

  • "pip": This is the command-line tool for installing and managing Python packages. It is usually bundled with Python when you install it.
  • "uninstall": This is the specific action you want pip to perform. It tells pip that you want to uninstall a package.
  • "${package_name}": This is a placeholder for the actual name of the package you want to uninstall. You need to replace "${package_name}" with the name of the package you want to remove. For example, if you want to uninstall the package called "numpy", the command would become "pip uninstall numpy".

By executing this command in the command-line interface, pip will search for the specified package on your computer and uninstall it, removing all the associated files and dependencies.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pip tool