How to install PyQt5 on Windows?

前端 未结 13 2130
谎友^
谎友^ 2020-12-04 22:41

When I try installing the PyQt5 on Windows using the command

python configure.py

I get this error:

Error: Mak         


        
13条回答
  •  北海茫月
    2020-12-04 22:54

    I found a partial solution...

    Steps to install pyQt5 (with VS 2012) on Windows:

    1) Install the binary file Qt 5.0.2 for Windows 64-bit (VS 2012, 500 MB) from here.

    2) Get sip-4.14.7 (development snapshot) from here.

    3) Extract the file and open the Developer Command Prompt for VS2012.

    4) Execute these commands (in sip folder):

    python configure.py
    nmake
    nmake install
    

    5) Get the pyQt5 from here.

    6) Extract the file and open the VS2012 x64 Native Tools Command Prompt.

    7) Execute these commands:

    python configure.py
    

    UPDATE: When execute these commands below is not working:

    nmake
    nmake install
    

    Solution: I will try use pyQt4 with Qt5... because pyQt5 is in development and doesn't have support/documentation yet.

提交回复
热议问题