title: PyQt5 - Error import QtWidgets QtGui
body: <p>I'm running Ubuntu 13.10 (python-3.3.2+) . I've installed Qt5.2.1 (linux installer) , SIP 4.15.5 &amp; PyQt5 both from source of the official site. </p>
  
  <p><strong>PyQt5 build :</strong></p>
  
  <p>The Qt qmake is located here</p>
  
  <pre><code>jeby6372@mercure:~$ ls /opt/Qt/5.2.1/gcc_64/bin
  assistant             qdbus           qml1plugindump    qmlviewer
  designer              qdbuscpp2xml    qml2puppet        qtpaths
  lconvert              qdbusviewer     qmlbundle         rcc
  linguist              qdbusxml2cpp    qmlimportscanner  syncqt.pl
  lrelease              qdoc            qmlmin            uic
  lupdate               qhelpconverter  qmlplugindump     xmlpatterns
  moc                   qhelpgenerator  qmlprofiler       xmlpatternsvalidator
  pixeltool             qmake           qmlscene
  qcollectiongenerator  qml             qmltestrunner
  </code></pre>
  
  <p>My python path </p>
  
  <pre><code>jeby6372@mercure:~$ echo $PYTHONPATH
  :/usr/lib/python3.3/site-packages
  </code></pre>
  
  <p>Qt5 libraries (shorten list for display purpose):</p>
  
  <pre><code>jeby6372@mercure:/opt/Qt/5.2.1/gcc_64/lib$ ls
  cmake                              libQt5Positioning.so.5
  libicudata.so.51                   libQt5Positioning.so.5.2
  libicudata.so.51.1                 libQt5Positioning.so.5.2.1
  libqgsttools_p.so                  libQt5PrintSupport.so.5.2.1
  libqgsttools_p.so.1                libQt5QmlDevTools.a
  libQt5CLucene.so.5.2               libQt5QuickParticles.so.5.2.1
  libQt5Concurrent.so.5.2            libQt5QuickTest.la
  libQt5Concurrent.so.5.2.1          libQt5QuickTest.prl
  libQt5Core.so.5.2.1                libQt5Script.prl
  libQt5DBus.la                      libQt5Script.so
  ....... 
  libQt5Multimedia.so                libQt5WebKit.prl
  libQt5Nfc.la                       libQt5Widgets.so.5.2.1
  libQt5Nfc.prl                      libQt5X11Extras.la
  libQt5Nfc.so                       libQt5X11Extras.prl
  libQt5Nfc.so.5                     libQt5X11Extras.so
  libQt5Nfc.so.5.2                   libQt5X11Extras.so.5
  libQt5OpenGLExtensions.a           libQt5X11Extras.so.5.2.1
  libQt5OpenGLExtensions.la          libQt5Xml.la
  libQt5OpenGL.so                    libQt5XmlPatterns.so.5
  libQt5OpenGL.so.5                  libQt5XmlPatterns.so.5.2
  libQt5OpenGL.so.5.2.1              libQt5Xml.prl
  libQt5Platfor
  libQt5PlatformSupport.prl          libQt5Xml.so.5.2
  libQt5Positioning.so
  </code></pre>
  
  <p>I ran the following commands in the source directory extracted from the official PyQt-gpl-5.2.1.tar.gz tarball :</p>
  
  <pre><code>python3 configure.py --qmake /opt/Qt/5.2.1/gcc_64/bin/qmake # My PyQt5 location
  sudo make
  sudo make install
  </code></pre>
  
  <h2>Issue:</h2>
  
  <p>I can only import a restricted set of modules</p>
  
  <pre><code>&gt;&gt;&gt; from PyQt5.QtCore import *
  &gt;&gt;&gt; from PyQt5.QtNetwork import *
  &gt;&gt;&gt; from PyQt5.QtXmlPatterns import *
  &gt;&gt;&gt; from PyQt5.Qt import *
  &gt;&gt;&gt; from PyQt5.QtGui import *
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named 'PyQt5.QtGui'
  &gt;&gt;&gt; from PyQt5.QtWidgets import *
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named 'PyQt5.QtWidgets'
  </code></pre>
  
  <p>I can import QtCore, QtNetwork ... as listed in /usr/local/python3.3/sites-packages/PyQt5 :</p>
  
  <pre><code>jeby6372@mercure:/usr/lib/python3.3/site-packages/PyQt5$ ls
  __init__.py  QtCore.so  QtDBus.so  QtNetwork.so  Qt.so  QtXmlPatterns.so  uic
  </code></pre>
  
  <p>But I can't import QtWidgets, QtGui .. and so on.</p>
  
  <p>It seems that the PyQt5 libraries are not all copied here.</p>
  
  <p>The same problem is described in this <a href="http://riverbankcomputing.com/pipermail/pyqt/2013-July/033011.html" rel="nofollow">post</a> ... but unfortunately with no response from the RiverBanck's team :  </p>
  
  <p>Any idea?</p>