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 ?
Advertisement
Answer
You have to upgrade pip and then install pyqt5:
python3 -m pip install --upgrade pip python3 -m pip install pyqt5