title: How can I start Bloomberg API in python?
body: <p>I managed to install blpapi in my python. However, there is error <code>Exception: failed to start session</code> My simple code is as follows.</p>
  
  <pre><code>import blpapi
  import pandas as pd
  import tia.bbg.datamgr as dm
  
  mgr = dm.BbgDataManager()
  sids = mgr['MSFT US EQUITY', 'IBM US EQUITY', 'CSCO US EQUITY']
  df = sids.get_historical('PX_LAST', '1/1/2014', '11/12/2014')
  </code></pre>
  
  <p>What Can I do with this? Can you help?</p>