Skip to main content

Remove a package and its unused dependencies(Supports Python3)

Project description





Remove a package and its unused dependencies.
Supports both Python2 and Python3.

This version also can remove packages listed in file like 'requirements.txt'.

Special Feature!

You can list and remove packages including their optional dependencies!


pip-autoremove -f -e to check leaf packages including extra packages. Helps with managing packages like jupyterlab.

pip-autoremove -y -e jupyterlab to remove packages including their extra packages (recursive).

How to install

  • How to install pip3-autoremove for Python3:
sudo pip3 install pip3-autoremove
  • How to install pip3-autoremove for Python2:
sudo pip install pip3-autoremove


pip-autoremove packages-to-uninstall
pip3-autoremove packages-to-uninstall
pip-autoremove -r requirements.txt

To remove the globally installed package, add "sudo" before the pip-autoremove command.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip3-autoremove-1.2.2.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

pip3_autoremove-1.2.2-py2.py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page