Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove a package from Pypi

Tags:

python

pypi

How do I remove a package from Pypi?

I uploaded a package to Pypi several months ago. The package is now obsolete and I'd like to formally remove it. I cannot find any documentation on how to remove my package.

like image 739
Rico Avatar asked Dec 05 '13 15:12

Rico


People also ask

How do I remove a package from pip?

To use pip to uninstall a package locally in a virtual environment: Open a command or terminal window (depending on the operating system) cd into the project directory. pip uninstall <packagename>

How do I completely remove a Python package?

Uninstalling/removing Python packages using Pip Open a terminal window. To uninstall, or remove, a package use the command '$PIP uninstall <package-name>'. This example will remove the flask package.

How do I uninstall a package without pip?

You have two options: Use another package manager such as conda . This will only work if the package was originally installed with that package manager. Delete the package manually with File Explorer or the command-line.

How do I delete all installed pip packages?

To remove all packages installed by pip with Python, we run pip uninstall . to run pip freeze to get the list of packages installed. And then we pipe that to xargs pip uninstall -y to remove all the packages listed by pip freeze with pip uninstall . We use the -y to remove everything without needing confirmation.


1 Answers

  • Login.
  • Go to your packages.
  • Check the "remove" checkbox for the particular package.
  • Click "Remove" button.
like image 151
Simeon Visser Avatar answered Sep 17 '22 05:09

Simeon Visser