title: Missing module in python
body: <p>I recently tried installing powerline-vim, but have been running into problems with it.</p>
  
  <p>Every time I open a new window, I see this error:</p>
  
  <pre><code>Error detected while processing function &lt;SNR&gt;9_UpdateWindows..&lt;SNR&gt;9_pyeval:
  line   1:
  Traceback (most recent call last):
  File "&lt;string&gt;", line 1, in &lt;module&gt;
  File "&lt;string&gt;", line 1, in &lt;module&gt;
  File "opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/uuid.py", line 545, in uuid4 import random
  File "opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/uuid.py", line 545, in uuid4 from os import urandom as _urandom
  ImportError: cannot import name urandom
  </code></pre>
  
  <p>When I delete this line from my .vimrc file (effectively disabling powerline-vim) the error goes away.</p>
  
  <pre><code>python from powerline.ext.vim import source_plugin; source_plugin()
  </code></pre>
  
  <p>The curious thing about this is when I fire up python from the terminal, the imports work just fine.</p>
  
  <pre><code> Python 2.7.3 (default, Nov 17 2012, 19:54:34) 
   [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin
   Type "help", "copyright", "credits" or "license" for more information.
   &gt;&gt;&gt; import random
   &gt;&gt;&gt; from os import urandom as _urandom
   &gt;&gt;&gt; 
  </code></pre>
  
  <p>The output of which python:</p>
  
  <pre><code>/opt/local/bin/python
  </code></pre>
  
  <p>I am running OS X 10.8.2.</p>
  
  <p>Thanks!</p>