title: Kivy: How do I make external libraries work?
body: <p>I have a script where I'm using <a href="https://github.com/facebook/fbconsole" rel="nofollow">fbconsole</a> and <a href="https://github.com/sixohsix/twitter%E2%80%8E" rel="nofollow">twitter</a>. Those scripts run fine on their own.</p>
  
  <p>For the GUI part, I'm trying to use Kivy. Now when I'm importing my script, I'm getting a error ImportError saying <strong>there's no module named twitter/fbconsole.</strong> What do I do?</p>
  
  <p>I checked the path that is displayed when the kivy app is run. Here's the complete log</p>
  
  <pre><code>botstrapping Kivy @ C:\Users\roy\Desktop\Kivy-1.7.2-w32\
  Setting Environment Variables:
  #################################
  GST_REGISTRY
  C:\Users\roy\Desktop\Kivy-1.7.2-w32\gstreamer\registry.bin
  ---------------
  GST_PLUGIN_PATH:
  C:\Users\roy\Desktop\Kivy-1.7.2-w32\gstreamer\lib\gstreamer-0.10
  ---------------
  PATH:
  C:\Users\roy\Desktop\Kivy-1.7.2-w32\;C:\Users\roy\Desktop\Kivy-1.7.2-w32\Python;
  C:\Users\roy\Desktop\Kivy-1.7.2-w32\Python\Scripts;C:\Users\roy\Desktop\Kivy-1.7
  .2-w32\gstreamer\bin;C:\Users\roy\Desktop\Kivy-1.7.2-w32\MinGW\bin;C:\Program Fi
  les (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Wind
  ows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\python27\;C:\Pr
  ogram Files (x86)\Java\jdk1.7.0\bin;C:\Python27\Scripts;C:\Users\roy\Desktop\Kiv
  y-1.7.2-w32;C:\Program Files (x86)\Google\google_appengine\;C:\Python27\Lib\site
  -packages\;
  ----------------------------------
  PYTHONPATH:
  C:\Users\roy\Desktop\Kivy-1.7.2-w32\kivy;
  ----------------------------------
  ##################################
  done bootstraping kivy...have fun!\n
  running "python.exe C:\Users\roy\Desktop\CSE310\merging\gui1.py" \n
  [INFO              ] Kivy v1.7.2
  Purge log fired. Analysing...
  Purge finished !
  [INFO              ] [Logger      ] Record log in C:\Users\roy\.kivy\logs\kivy_1
  3-12-26_25.txt
  [INFO              ] [Factory     ] 144 symbols loaded
  [DEBUG             ] [Cache       ] register &lt;kv.lang&gt; with limit=None, timeout=
  Nones
  [DEBUG             ] [Cache       ] register &lt;kv.image&gt; with limit=None, timeout
  =60s
  [DEBUG             ] [Cache       ] register &lt;kv.atlas&gt; with limit=None, timeout
  =Nones
  [INFO              ] [Image       ] Providers: img_tex, img_dds, img_pygame, img
  _pil, img_gif
  [DEBUG             ] [Cache       ] register &lt;kv.texture&gt; with limit=1000, timeo
  ut=60s
  [DEBUG             ] [Cache       ] register &lt;kv.shader&gt; with limit=1000, timeou
  t=3600s
  [INFO              ] [Text        ] Provider: pygame
  [DEBUG             ] [Cache       ] register &lt;kv.loader&gt; with limit=500, timeout
  =60s
  [INFO              ] [Loader      ] using a thread pool of 2 workers
  [DEBUG             ] [Cache       ] register &lt;textinput.label&gt; with limit=None,
  timeout=60.0s
  [DEBUG             ] [Cache       ] register &lt;textinput.width&gt; with limit=None,
  timeout=60.0s
   Traceback (most recent call last):
     File "C:\Users\roy\Desktop\CSE310\merging\gui1.py", line 9, in &lt;module&gt;
       import twit
     File "C:\Users\roy\Desktop\CSE310\merging\twit.py", line 1, in &lt;module&gt;
       from twitter import *
   ImportError: No module named twitter
  Press any key to continue . . .
  </code></pre>