Solved (pip install pyqt5 error) error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft

Solved (pip install pyqt5 error) 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 translation



Error message translation :

Error: Microsoft Visual C++ 14.0 or later is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

Reason for error :


If you want to install pyqt5, you need to install Microsoft C++ Build Tool - Visual Studio

Solution

Install Microsoft C++ Build Tools - Visual Studio : https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/

insert image description here


Then check the desktop development using c++:


insert image description here

Wait for the download and installation to succeed:

insert image description here

After the above steps are completed, you can install pyqt5 with pip:

pip install PyQt5

Solved (pip install pyqt5 error) 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 translation



Error message translation :

Error: Microsoft Visual C++ 14.0 or later is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

Reason for error :


If you want to install pyqt5, you need to install Microsoft C++ Build Tool - Visual Studio

Solution

Install Microsoft C++ Build Tools - Visual Studio : https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/

insert image description here


Then check the desktop development using c++:


insert image description here

Wait for the download and installation to succeed:

insert image description here

After the above steps are completed, you can install pyqt5 with pip:

pip install PyQt5

Guess you like

Origin blog.csdn.net/qq_37553692/article/details/128996821