How to Solve ModuleNotFoundError Error After pip-autoremove Installed

The pip-autoremove tool is very convenient for managing the dependencies in the environment, when uninstalling a Package, you can uninstall it together with the dependencies installed at that time. However, after version 0.10.0, using pip-autoremove will report an error:

pip-autoremove packege_name
> ModuleNotFoundError: No module named 'pip_autoremove'

This is because in this version, pip-autoremove is treated as a Module. now there is a new commit on github that fixes this problem, but at the moment the direct installation via pip still does not work. In this case, you can force the installation of the fixed version to solve the problem.

pip3 install --force git+https://github.com/imba-tjd/pip-autoremove@ups

Read More: