
For Ubuntu 22.04, install these additional libraries:

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

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