
For Ubuntu 22.04, install these additional libraries:

    sudo apt-get install --no-install-recommends \
      libx11-6 libsm6 libglib2.0-0

For Ubuntu 24.04, install these additional libraries:

    sudo apt-get install --no-install-recommends \
      libx11-6 libsm6 libglib2.0-0t64

For macOS, ensure that you're using Homebrew Python (not Apple's system Python).
