I know this is really old, but I recently had a problem setting up PyQt5.
The problem was that PyQt5 would be installed, but some of the submodules would not. For example, try
import PyQt5
If the second command fails, you will have a problem setting up PyQt5, and you need to focus on that.
In particular, ipython + qt will try to import the following
from PyQt5 import QtCore, QtSvg, QtWidgets, QtGui
If any of these submodules is broken / missing, starting the qt console will be no problem .
For me, it turned out that the PyQt5 installer was unable to complete the QtSvg bindings that ipython is trying to download from PyQt5. When you run configure.py , use the -w option and you will see all the details of the assembly, allowing you to pinpoint where the installation fails.
In my case, a little googling, and I found out that I lack QtSvg lib , which can be easily extracted from repositories.
source share