Install it into the running interpreter with `python -m pip install Authlib`. Using python -m pip guarantees the package lands in the environment that will import it. Expected: pip reports Authlib and its cryptography dependency installed.

Add the companion package for your stack, because Authlib leaves the HTTP client and framework to you: `python -m pip install Authlib requests` for the requests client, or swap in httpx, Flask, Django, or Starlette as your app needs. Expected: pip installs both without resolver errors.

Verify with `python -c "import authlib; print(authlib.__version__)"`. Expected: a version string prints instead of the ModuleNotFoundError.

If it still fails, you have more than one Python: compare `python -c "import sys; print(sys.executable)"` with `python -m pip --version`. In a virtualenv, activate it first; in an IDE or Jupyter, select the kernel or interpreter you installed into. Expected: both paths point at the same environment.

Pin it for the project by adding Authlib to requirements.txt or your dependency file and reinstalling, so a fresh environment does not lose it. Expected: a clean reinstall imports authlib with no manual step.