Witam. Chciałem uruchomić pewien gotowy skrypt w Pythonie ze stron github.
instaluję wg. instrukcji (tzn. Python 3.7 zalecany)
I przy wgrywaniu requirements.txt crashuje na instalacji PyQt5-sip
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: Could not build wheels for PyQt5-sip, which is required to install pyproject.toml-based projects
Pod podanym linkiem to chciało instalować całe VisualStudio którego nie chcę. Znalazłem instalator samego build tools 2015
tutaj www.softpedia.com/get/Programming/Other-Programming-Files/Microsoft-Build-Tools.shtml
Po instalacji mam folder C:\Program Files (x86)\MSBuild\14.0\Bin więc wersja się zgadza
Jednak nadal dostaję ten sam błąd.
próbowałem
python -m pip install --upgrade pip
nic nie daje