[Python] Cannot install pyside6 from pip

Discussão em 'Python' iniciado por Stack, Setembro 9, 2025.

  1. Stack

    Stack Membro Participativo

    I'm looking at the Qt for Python1 documentation on how to install PySide6 and it should be simple enough:

    pip install pyside6


    It doesn't work, though:

    ERROR: Could not find a version that satisfies the requirement pyside6 (from versions: none)
    ERROR: No matching distribution found for pyside6


    I looked for it at pypi.org and found out the name of the package is PySide6, capitalized, not pyside6. Still, I tried it again, but had no luck:

    $ sudo pip install PySide6
    ERROR: Could not find a version that satisfies the requirement PySide6 (from versions: none)
    ERROR: No matching distribution found for PySide6


    Even if I explicitly pass --index-url to pip, as described in the official documentation, pip can't find pyside6 to install:

    $ sudo pip install --index-url=https://download.qt.io/snapshots/ci/pyside/6.5/latest/ PySide6 --trusted-host download.qt.io
    Looking in indexes: https://download.qt.io/snapshots/ci/pyside/6.0.0/latest
    ERROR: Could not find a version that satisfies the requirement pyside6 (from versions: none)
    ERROR: No matching distribution found for pyside6


    (I tried several combinations of urls and package names)

    Any idea to what's going on? Other pyside versions are available apparently. Not pyside6, though.

    System information


    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description: Debian GNU/Linux 11 (bullseye)
    Release: 11
    Codename: bullseye
    $ python3 --version
    Python 3.9.2
    $ pip --version
    pip 23.0.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)

    Continue reading...

Compartilhe esta Página