How to fix ModuleNotFoundError: No module named 'mypy'

ModuleNotFoundError: No module named 'mypy'
Recommended: Install via pip into your active environment.
python -m pip install mypy

Verification

Command
python -c "import mypy; print(mypy.__version__)"
Expected output
Success! mypy version x.y.z (e.g., 2.4.0)