When you use pip
to install a package, all the required packages will also be installed with it (dependencies). Does uninstalling that package also remove the dependent packages?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
No, it doesn't uninstall the dependencies packages:
As you can see all the packages are still there but not the
specloud
package itself.You can install and use the pip-autoremove utility to remove a package plus unused dependencies.
You may have a try for https://github.com/cls1991/pef. It will remove package with its all dependencies.
i've successfully removed dependencies of a package using this bash line:
this worked on pip 1.5.4