Debian 12 Pandora extension issue

So I’m using Mopidy on Debian 12, and trying to install the Pandora extension. However, there’s no Debian package (e.g. like mopidy-soundcloud for Soundcloud extension). On the extension page, says to install via python3 pip. Debian 12 has changed things, so it won’t install it, and recommends using venv or pipx.

python3 -m pip install Mopidy-Pandora
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    See /usr/share/doc/python3.11/README.venv for more information.

I installed via pipx, but I’m getting WARNING [MainThread] mopidy.config Ignoring config section 'pandora' because no matching extension was found that the extension isn’t there. Any ideas?

You can do

sudo python3 -m pip install --upgrade --break-system-packages mopidy-whatever