Я знаю, что есть аналогичный вопрос: здесь, но это решение недействительно для версий Python выше 3.12, из-за этого и есть нет каталога \Lib\distutils.
Я получаю сообщение об ошибке:
Код: Выделить всё
exit code: 1
[5 lines of output]
running bdist_wheel
running build
running build_ext
building 'PyQt6.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 PyQt6-sip
Failed to build PyQt6-sip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (PyQt6-sip)
Подробнее здесь: https://stackoverflow.com/questions/791 ... ip-for-pyt