I’m using Pycharm and when i try to download pyqt5 package, I’m getting an error like this.
JavaScript
x
5
1
Failed building wheel for PyQt5-sip
2
Running setup.py clean for PyQt5-sip
3
Failed to build PyQt5-sip
4
Could not build wheels for PyQt5-sip which use PEP 517 and cannot be installed directly
5
What could be the problem ?
Advertisement
Answer
You have to upgrade pip and then install pyqt5:
JavaScript
1
3
1
python3 -m pip install --upgrade pip
2
python3 -m pip install pyqt5
3