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?
When you use pip to install a package, all the required packages will also
Share
No, it doesn’t uninstall the dependencies packages. It only removes the specified package:
As you can see those packages are dependencies from
specloudand they’re still there, but not thespecloudpackage itself.As mentioned below, you can install and use the pip-autoremove utility to remove a package plus unused dependencies.