"pip uninstall" is too noisy
See original GitHub issue- Pip version: 9.0.1
- Python version: 3.6.0
- Operating System: Arch Linux
Description:
pip uninstall
is too noisy.
It should list the package(s) and its directory/location, but instead it lists all the files in there:
% pip uninstall pip
Uninstalling pip-9.0.1:
/home/user/.local/bin/pip
/home/user/.local/bin/pip3
/home/user/.local/bin/pip3.5
/home/user/.local/lib/python3.5/site-packages/pip-9.0.1.dist-info/DESCRIPTION.rst
/home/user/.local/lib/python3.5/site-packages/pip-9.0.1.dist-info/INSTALLER
/home/user/.local/lib/python3.5/site-packages/pip-9.0.1.dist-info/METADATA
/home/user/.local/lib/python3.5/site-packages/pip-9.0.1.dist-info/RECORD
/home/user/.local/lib/python3.5/site-packages/pip-9.0.1.dist-info/WHEEL
/home/user/.local/lib/python3.5/site-packages/pip-9.0.1.dist-info/entry_points.txt
/home/user/.local/lib/python3.5/site-packages/pip-9.0.1.dist-info/metadata.json
/home/user/.local/lib/python3.5/site-packages/pip-9.0.1.dist-info/top_level.txt
/home/user/.local/lib/python3.5/site-packages/pip/…
[almost 500 extra lines]
/home/user/.local/lib/python3.5/site-packages/pip/vcs/bazaar.py
/home/user/.local/lib/python3.5/site-packages/pip/vcs/git.py
/home/user/.local/lib/python3.5/site-packages/pip/vcs/mercurial.py
/home/user/.local/lib/python3.5/site-packages/pip/vcs/subversion.py
/home/user/.local/lib/python3.5/site-packages/pip/wheel.py
Proceed (y/n)? y
Successfully uninstalled pip-9.0.1
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to fix pip hanging on uninstalling sqlalchjemy
Looks like pip uninstall prompts you with "Do you want to continue (Y/N)?", but that is not visible in cygwin or git bash...
Read more >pip freeze lists packages uninstalled through pip, then ...
Uninstalling a package from pip by running sudo pip uninstall packagename , then reinstalling it with the --user flag (i.e. pip install --user ......
Read more >User Guide - pip documentation v21.1.dev0
pip is able to uninstall most packages like so: Unix/macOS ... It can also substitute for a vendor library, providing easier upgrades and...
Read more >jupyterlab-git - PyPI
Uninstall. pip uninstall jupyterlab-git. or with conda: conda remove jupyterlab-git. For JupyterLab < 3, you will also need to run the following command ......
Read more >Managing Packages - Python Numerical Methods
There are other package managers, like conda that shipped with the Anaconda distribution, but for usage, it is similar to pip, therefore, we...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@AwesomeTurtle That’s too terse. I’d suggest we need to at least list the number of files we’ll be removing, and the top-level directories/files. Something like
As you say,
--verbose
can give the full list of files.Here’s a PR. 😉