title: Raspbian Python azure.storage ImportError: No module named cryptography.hazmat.primitives.keywrap
body: <p>Im trying to upload pictures from my RPi3 to Azure blob storage. Im using raspbian and python moduls as described below.</p>
  
  <ul>
  <li>setup a virtual environment 'azure' using virtualwrapper.</li>
  <li>Installed azure-storage like here: <a href="https://github.com/Azure/azure-storage-python" rel="nofollow">https://github.com/Azure/azure-storage-python</a></li>
  </ul>
  
  <p>My problem is that what ever I do I keep getting the following error</p>
  
  <pre><code>&gt;&gt;&gt; from azure.storage import BlobService
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/home/pi/.virtualenvs/azure/lib/python2.7/site-packages/azure_storage-0.33.0-py2.7.egg/azure/storage/__init__.py", line 21, in &lt;module&gt;
  from .models import (
    File "/home/pi/.virtualenvs/azure/lib/python2.7/site-packages/azure_storage-0.33.0-py2.7.egg/azure/storage/models.py", line 27, in &lt;module&gt;
  from cryptography.hazmat.primitives.keywrap import(
  ImportError: No module named cryptography.hazmat.primitives.keywrap
  </code></pre>
  
  <p>I've tried <code>pip install cryptography</code> and <a href="https://pypi.python.org/pypi/azure-storage" rel="nofollow">https://pypi.python.org/pypi/azure-storage</a>, but that didn't change anything. I keep getting the same error <code>ImportError: No module named cryptography.hazmat.primitives.keywrap</code>. I even tried just to import <code>azure.storage</code> but that throws the same error.<br>
  If anyone could shed some light on how to get <code>azure-storage-blob</code> to work on Raspbian I would be very grateful.
  Thank you in advance.</p>