title: How to install PyQt5 on Windows?
body: <p>When I try installing the PyQt5 on Windows using the command </p>
  
  <pre><code>python configure.py
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
  <pre><code>Error: Make sure you have a working Qt qmake on your PATH.
  </code></pre>
  </blockquote>
  
  <p>I got the pyQt5 from <a href="http://www.riverbankcomputing.co.uk/software/pyqt/download5" rel="noreferrer">PyQt5 Download</a>.</p>
  
  <p>How can I install PyQt5?</p>
  
  <hr>
  
  <p><strong>Update:</strong></p>
  
  <p>I installed <code>Qt 5.0.2 for Windows 64-bit (VS 2012, 500 MB)</code> from the <a href="http://qt-project.org/downloads" rel="noreferrer">Qt Download page</a> and now I have this error:</p>
  
  <blockquote>
  <pre><code>Querying qmake about your Qt installation...
  Determining the details of your Qt installation...
  Error: Failed to determine the detail of your Qt installation. Try again using
  the --verbose flag to see more detail about the problem.
  </code></pre>
  </blockquote>
  
  <p>And when I execute the command <code>python configure.py --verbose</code>:</p>
  
  <blockquote>
  <pre><code>Querying qmake about your Qt installation...
  Determining the details of your Qt installation...
  C:\Qt\Qt5.0.2\5.0.2\msvc2012_64\bin\qmake.exe -spec win32-msvc2008 -o qtdetail.m
  k qtdetail.pro
  nmake -f qtdetail.mk release
  'nmake' não é reconhecido como um comando interno
  ou externo, um programa operável ou um arquivo em lotes.
  Error: Failed to determine the detail of your Qt installation. Try again using
  the --verbose flag to see more detail about the problem.
  </code></pre>
  </blockquote>
  
  <p>I added <code>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin</code> (contains <code>nmake.exe</code>) to PATH and I got this error:</p>
  
  <blockquote>
  <pre><code>Querying qmake about your Qt installation...
  Determining the details of your Qt installation...
  C:\Qt\Qt5.0.2\5.0.2\msvc2012_64\bin\qmake.exe -spec win32-msvc2008 -o qtdetail.mk qtdetail.pro
  nmake -f qtdetail.mk release
  
  
  Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
  
  Copyright (C) Microsoft Corporation.  All rights reserved.
  
  
    "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\nmake.exe" -f qtdetail.mk.Release
  
  
  Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
  
  Copyright (C) Microsoft Corporation.  All rights reserved.
  
    cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_CORE_LIB -I"..\..\..\..\..\..\..\Qt\Qt5.0.2\5.0.2\msvc2012_64\include" -I"..\..\..\..\..\..\..\Qt\Qt5.0.2\5.0.2\msvc2012_64\include\QtCore" -I"release" -I"..\..\..\..\..\..\..\Qt\Qt5.0.2\5.0.2\msvc2012_64\mkspecs\win32-msvc2008" -Forelease\ @C:\Users\Victor\AppData\Local\Temp\nm68EA.tmp
  
  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.EXE"' : return code '0xc0000135'
  
  Stop.
  
  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\nmake.exe"' : return code '0x2'
  
  Stop.
  </code></pre>
  </blockquote>