How to fix ModuleNotFoundError: No module named 'filelock'

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

Verification

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