title: Adding Imports To addon.xml for Kodi
body: <p>What is the syntax for adding imports to Kodi addon.xml file? I am trying to use pythons requests, and I get this error:</p>
  
  <pre><code>07:54:13.435 T:123145511706624   ERROR: EXCEPTION Thrown (PythonToCppException) : --&gt;Python callback/script returned the following error&lt;--
                                               - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                              Error Type: &lt;type 'exceptions.ImportError'&gt;
                                              Error Contents: No module named requests
                                              Traceback (most recent call last):
                                                File "//Kodi/addons/bingewave.venues/addon.py", line 8, in &lt;module&gt;
                                                  import requests
                                              ImportError: No module named requests
                                              --&gt;End of Python script error report&lt;--
  </code></pre>
  
  <p>Now I noticed Kodi has a lot of libraries built into the platform that include these: <a href="http://kodi.wiki/view/Category:Add-on_libraries/modules" rel="nofollow noreferrer">http://kodi.wiki/view/Category:Add-on_libraries/modules</a></p>
  
  <p>Currently in my add-on xml, I have this:</p>
  
  <pre><code>&lt;addon id="example" name="Example" version="1.0.4" provider-name="zag"&gt;
      &lt;requires&gt;
          &lt;import addon="xbmc.python" version="2.14.0"/&gt;
      &lt;/requires&gt;
      &lt;extension point="xbmc.python.script" library="addon.py"&gt;
          &lt;provides&gt;executable&lt;/provides&gt;
      &lt;/extension&gt;
  &lt;/addon&gt;
  </code></pre>
  
  <p>What is the syntax for importing more modules like requests?</p>