How to fix "ModuleNotFoundError: No module named 'inheritance-graph'"

By Where is my Python module

python
pip
inheritance-graph

You must first install the package before you can use it in your code. Run the following command to install the package and its dependencies.

pip install inheritance-graph