title: No module named sip when running QGIS from Python
body: <p>I have QGIS Valmiera 2.2.0 installed and started a simple python script using this <a href="http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/intro.html" rel="nofollow">documentation</a>.</p>
  
  <p>I had a hard time because always when I used</p>
  
  <pre><code>from qgis.core import *
  </code></pre>
  
  <p>I got the message <code>ImportError: No module named qgis.core</code>. I fixed that with the statement </p>
  
  <p><code>sys.path.extend([r"C:\Program Files (x86)\QGIS Valmiera\apps\qgis\python"])</code></p>
  
  <p>using the correct python path. Then I expected it to work but I ran into the next error message:</p>
  
  <pre><code>ImportError: No module named sip
  </code></pre>
  
  <p>I tried to do the same again, adding subfolders of qgis, which might be connected to sip, but without success. </p>
  
  <pre><code>sys.path.extend([r"C:\Program Files (x86)\QGIS Valmiera\apps\Python27",
                   r"C:\Program Files (x86)\QGIS Valmiera\apps\Qt4",
                   r"C:\Program Files (x86)\QGIS Valmiera\apps\Python27\sip",
                   r"C:\Program Files (x86)\QGIS Valmiera\apps\Python27\sip\PyQt4",
                   r"C:\Users\Downloads\sip-4.16.7\sip-4.16.7"])
  </code></pre>
  
  <p>The sip.exe, which I guess it is looking for, is actually located in the <code>C:\Program Files (x86)\QGIS Valmiera\apps\Python27</code> path. </p>
  
  <p>Is there anything missing in the pre-installed functionality or what might be the problem?</p>
  
  <p>Thanks for any hints!</p>
  
  <p><strong>UPDATE:</strong>
  For anyone interested: I did the following steps for installing sip library, without final success so far:</p>
  
  <ul>
  <li>Installed pip as described in this tutorial: <a href="http://quantumofgis.blogspot.de/2014/11/qgis-standalone-and-python-modules.html" rel="nofollow">http://quantumofgis.blogspot.de/2014/11/qgis-standalone-and-python-modules.html</a></li>
  <li>Tried <code>pip install sip</code> giving error <code>InsecurePlatformWarning</code></li>
  <li>Tried pip install --allow-external sip giving <code>You must give at least one requirement to install</code></li>
  <li>pip install --allow-external "sip>=4.16"</li>
  <li><p>pip install <a href="http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.7/sip-4.16.7.zip" rel="nofollow">http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.7/sip-4.16.7.zip</a> giving </p>
  
  <p>IOError: [Errno 2] No such file or directory: 'c:\users\user\appdata\local\temp\pip-d92iiw-build\setup.py'</p>
  
  <p>Command "python setup.py egg_info" failed with error code 1 in c:\users\user\appdata\local\temp\pip-d92iiw-build</p></li>
  <li><p>Tried installing contained configure.py from <code>pip-d92iiw-build</code> manually. Also no success</p></li>
  </ul>