How to install PyQt5 on Windows?

前端 未结 13 2136
谎友^
谎友^ 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:57

    I'm new to both Python and PyQt5. I tried to use pip, but I was having problems with it using a Windows machine. If you have a version of Python 3.4 or above, pip is installed and ready to use like so:

    python -m pip install pyqt5 
    

    That's of course assuming that the path for Python executable is in your PATH environment variable. Otherwise include the full path to Python executable (you can type where python to the Command Window to find it) like:

    C:\users\userName\AppData\Local\Programs\Python\Python34\python.exe -m pip install pyqt5
    

提交回复
热议问题