pythonpipuninstallation

Will pip uninstall package dependencies, if the package installation failed?


I have installed a large package on my Pythonanywhere account since the installation failed.

Does pip uninstall package dependencies, if the package installation failed?


Solution

  • Pip shouldn't uninstall package dependencies if the installation failed.

    If you think it might have, just try to import the dependent package to test it yourself.