[Python] Failed to build installable wheels for some pyproject.toml based projects (PyQt6-sip)

Discussão em 'Python' iniciado por Stack, Dezembro 1, 2024.

  1. Stack

    Stack Membro Participativo

    pip install PyQt6
    Collecting PyQt6
    Using cached PyQt6-6.7.1-cp38-abi3-win_amd64.whl.metadata (2.1 kB)
    Collecting PyQt6-sip<14,>=13.8 (from PyQt6)
    Using cached PyQt6_sip-13.8.0.tar.gz (92 kB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... done
    Preparing metadata (pyproject.toml) ... done
    Collecting PyQt6-Qt6<6.8.0,>=6.7.0 (from PyQt6)
    Using cached PyQt6_Qt6-6.7.3-py3-none-win_amd64.whl.metadata (551 bytes)
    Using cached PyQt6-6.7.1-cp38-abi3-win_amd64.whl (6.6 MB)
    Using cached PyQt6_Qt6-6.7.3-py3-none-win_amd64.whl (58.5 MB)
    Building wheels for collected packages: PyQt6-sip
    Building wheel for PyQt6-sip (pyproject.toml) ... error
    error: subprocess-exited-with-error`your text`

    × Building wheel for PyQt6-sip (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [5 lines of output]
    running bdist_wheel
    running build
    running build_ext
    building 'PyQt6.sip' extension
    error: Unable to find a compatible Visual Studio installation.
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for PyQt6-sip
    Failed to build PyQt6-sip
    ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (PyQt6-sip)


    My Python version 3.13.0 I had alrealy try to update my pip. I think i already install Visual Studio installation enter image description here

    Continue reading...

Compartilhe esta Página