Can't Download PyQt5 on Python

Question:

I’m using Pycharm and when i try to download pyqt5 package, I’m getting an error like this.

  Failed building wheel for PyQt5-sip
  Running setup.py clean for PyQt5-sip
Failed to build PyQt5-sip
Could not build wheels for PyQt5-sip which use PEP 517 and cannot be installed directly

What could be the problem ?

Asked By: themmfa

||

Answers:

You have to upgrade pip and then install pyqt5:

python3 -m pip install --upgrade pip 
python3 -m pip install pyqt5
Answered By: eyllanesc
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.