Chelovek Abeba
Ученик
(98),
на голосовании
1 неделю назад
Я делаю свой лаунчер для майна и когда качаю PyQt5 у меня выдает ошибка,все остальные библиотеки качаются а эта нет, как починить ошибку или есть какие-нибудь замены?
Код ошибки: C:\Users\abeba>pip install PyQt5 Collecting PyQt5 Using cached PyQt5-5.15.11-cp38-abi3-win_amd64.whl.metadata (2.1 kB) Collecting PyQt5-sip<13,>=12.15 (from PyQt5) Using cached PyQt5_sip-12.15.0.tar.gz (104 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting PyQt5-Qt5<5.16.0,>=5.15.2 (from PyQt5) Using cached PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl.metadata (552 bytes) Using cached PyQt5-5.15.11-cp38-abi3-win_amd64.whl (6.9 MB) Using cached PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl (50.1 MB) Building wheels for collected packages: PyQt5-sip Building wheel for PyQt5-sip (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for PyQt5-sip (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [5 lines of output] running bdist_wheel running build running build_ext building 'PyQt5.sip' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for PyQt5-sip Failed to build PyQt5-sip ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (PyQt5-sip)
Код ошибки:
C:\Users\abeba>pip install PyQt5
Collecting PyQt5
Using cached PyQt5-5.15.11-cp38-abi3-win_amd64.whl.metadata (2.1 kB)
Collecting PyQt5-sip<13,>=12.15 (from PyQt5)
Using cached PyQt5_sip-12.15.0.tar.gz (104 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting PyQt5-Qt5<5.16.0,>=5.15.2 (from PyQt5)
Using cached PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl.metadata (552 bytes)
Using cached PyQt5-5.15.11-cp38-abi3-win_amd64.whl (6.9 MB)
Using cached PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl (50.1 MB)
Building wheels for collected packages: PyQt5-sip
Building wheel for PyQt5-sip (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for PyQt5-sip (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'PyQt5.sip' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PyQt5-sip
Failed to build PyQt5-sip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (PyQt5-sip)