title: ImportError: No module named cryptography.fernet
body: <p>I have the following script, <code>crypto.py</code> in Python 2:</p>
  
  <pre><code>import hashlib
  from cryptography.fernet import Fernet
  
  def make_hash(password):
      return hashlib.sha224(password).hexdigest()
  
  def check_hash(password, hash):
      """Check a password against an existing hash."""
      return hashlib.sha224(password).hexdigest() == hash
  
  def start():
      key = Fernet.generate_key()
      print key
      cipher_suite = Fernet(key)
      print cipher_suite
      return cipher_suite
  
  def crypt(message):
      global cipher_suite
      cipher_suite=start()
      cipher_text = cipher_suite.encrypt(message)
      return cipher_text
  print "123"
  
  def decrypt(cipher_text):
      plain_text = cipher_suite.decrypt(cipher_text)
      return plain_text
  print "456"
  
  message = "Hello!"
  print crypt(message)
  print decrypt(crypt(message))
  </code></pre>
  
  <p>When I run this script I get the following output:</p>
  
  <pre><code>123
  456
  Hgir1BHvlLLMUH-Xi-aDrtNFcT3XU86XQsWtrvn6S2s=
  &lt;cryptography.fernet.Fernet object at 0x01661A10&gt;
  gAAAAABYRAxpvX9ksY5HVNiVa__S9zfBtV0XvVjUS9RpOOJhLp0fVZPbnk1hNMk9xB9x_s88WDRNF14GhY7DJG7B7g0ngIrENA==
  cUKBKF-dsP-sQ5_BN1H6yuq_t1h-kBbBgf6N-LCrynM=
  &lt;cryptography.fernet.Fernet object at 0x01BDB5D0&gt;
  Hello!
  </code></pre>
  
  <p>In the same folder I have server and client scripts and I want to use the <code>crypt()</code> and <code>decrypt()</code> in the client scrypt <code>client.py</code>, in line 6:</p>
  
  <pre><code>import threading, socket, crypto
  </code></pre>
  
  <p>When I run the <code>client.py</code> script I get this ImportError:</p>
  
  <pre><code>Traceback (most recent call last):
    File "K:/A/Project/client.py", line 6, in &lt;module&gt;
      import threading, socket, crypto
    File "K:\A\Project\crypto.py", line 2, in &lt;module&gt;
      from cryptography.fernet import Fernet
  ImportError: No module named cryptography.fernet
  </code></pre>