PS C:\Users\home> pip install PyQt5
Collecting PyQt5
Using cached PyQt5-5.15.4-cp36.cp37.cp38.cp39-none-win32.whl (5.4 MB)
Collecting PyQt5-Qt5>=5.15
Using cached PyQt5_Qt5-5.15.2-py3-none-win32.whl (43.4 MB)
Collecting PyQt5-sip<13,>=12.8
Using cached PyQt5_sip-12.9.0.tar.gz (103 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: PyQt5-sip
Building wheel for PyQt5-sip (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\home\appdata\local\programs\python\python39-32\python.exe' 'c:\users\home\appdata\local\programs\python\python39-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\home\AppData\Local\Temp\tmpzk36_aid'
cwd: C:\Users\home\AppData\Local\Temp\pip-install-mfoyp1sb\pyqt5-sip_bc6b3e4ce8834bab842f0db0cc42487d
Complete output (5 lines):
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/
ERROR: Failed building wheel for PyQt5-sip
Failed to build PyQt5-sip
ERROR: Could not build wheels for PyQt5-sip which use PEP 517 and cannot be installed directly
PS C:\Users\home>
PS C:\Users\home> pip install PyQt5 Collecting PyQt5 Using cached PyQt5-5.15.4-cp36.cp37.cp38.cp39-none-win32.whl (5.4 MB) Collecting PyQt5-Qt5>=5.15 Using cached PyQt5_Qt5-5.15.2-py3-none-win32.whl (43.4 MB) Collecting PyQt5-sip<13,>=12.8 Using cached PyQt5_sip-12.9.0.tar.gz (103 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Building wheels for collected packages: PyQt5-sip Building wheel for PyQt5-sip (PEP 517) ... error ERROR: Command errored out with exit status 1: command: 'c:\users\home\appdata\local\programs\python\python39-32\python.exe' 'c:\users\home\appdata\local\programs\python\python39-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\home\AppData\Local\Temp\tmpzk36_aid' cwd: C:\Users\home\AppData\Local\Temp\pip-install-mfoyp1sb\pyqt5-sip_bc6b3e4ce8834bab842f0db0cc42487d Complete output (5 lines): 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/
ERROR: Failed building wheel for PyQt5-sip Failed to build PyQt5-sip ERROR: Could not build wheels for PyQt5-sip which use PEP 517 and cannot be installed directly PS C:\Users\home>