When I try installing the PyQt5 on Windows using the command
python configure.py
I get this error:
Error: Mak
One of the most (probably the most) easiest way to install site-packages like PyQt5 is installing one of the versions of Anaconda. You can just install many of site-packages by installing it. List of avaliable site-packages with Anaconda versions can be checked here.
For example:
PATH: ....; C:\Anaconda3\Lib\site-packages\PyQt5; ...
You can easily install it using Anaconda. At first install Anaconda or Miniconda on you system (download from here) and then install the pyqt as follow:
conda install pyqt
It works for both version of python (2 and 3).
If you have python installed completely, it can save you the hassle. All you need to do is enter the following command in your respective shell:
pip install pyqt5
And contrary to popular belief, AS LONG AS YOU HAVE PIP INSTALLED, you can do this on virtually any OS... Hope this helped!
If you are using canopy, use the package manager to install qt (and or pyqt)
If you're using Windows 10, if you use
py -m pip install pyqt5
in the command prompt it should download fine. Depending on either the version of Python or Windows sometimes python -m pip install pyqt5
isn't accepted, so you have to use py instead. pip is a good way to download a lot of stuff, so I'd recommend that.
If you are facing problem with pip3 install pyqt5
then try pip3 install pyqt5==5.12.0
This solved the problem for me