How to fix ModuleNotFoundError: No module named 'tenacity'

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

Verification

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