title: How to import Azure BlobService in python?
body: <p>We are able to import azure.storage, but not access the BlobService attribute</p>
  
  <p>The documentation says to use the following import statement:</p>
  
  <pre><code>from azure.storage import BlobService
  </code></pre>
  
  <p>But that get's the following error:</p>
  
  <pre><code>ImportError: cannot import name BlobService
  </code></pre>
  
  <p>We tried the following:</p>
  
  <pre><code>import azure.storage
  ...
  foo = azure.storage.BlobService(...)
  </code></pre>
  
  <p>But that received the following error:</p>
  
  <pre><code>AttributeError: ‘module’ object has no attribute ‘BlobService’
  </code></pre>
  
  <p>We also tried all of the above with "azure.storage.blob" instead of "azure.storage"</p>
  
  <p>We tried updating azure-storage package but it is up to date (version 0.30.0)</p>
  
  <p>We also tried uninstalling azure-storage and installing the entire azure package, but we got the same results. We tried installing them with both pip and conda, but same results both times.</p>
  
  <p>I am aware that the output suggests that this version of azure.storage has no BlobService attribute, but the documentation clearly states to import from there.</p>
  
  <p><a href="https://azure.microsoft.com/en-us/documentation/articles/machine-learning-data-science-create-features-blob/" rel="noreferrer">https://azure.microsoft.com/en-us/documentation/articles/machine-learning-data-science-create-features-blob/</a></p>