title: Facing ImportError: DLL load failed while implementing Microsoft azure iothub_service_client
body: <p>I am trying to develop a python console application that implement IoT using Microsoft azure. For this purpose, I am following <a href="https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-python-getstarted" rel="nofollow noreferrer">very basic tutorial made for python developers by Microsoft azure</a> in my <strong><em>Windows 10</em></strong> machine. Pre-installed <a href="https://www.microsoft.com/en-us/download/confirmation.aspx?id=48145" rel="nofollow noreferrer">Visual C++ redistributable package</a> is one of the most important requirement to allow the use of native DLLs from Python among 4 prerequisites described into the Introduction section of the tutorial. </p>
  
  <p><strong><em>My system configurations:</em></strong></p>
  
  <pre><code>Software                               Version
  -------------------------------------------------------
  Python:                                3.5.2
  Visual C++ redistributable package:    2010, 2013, 2017
  Node:                                  6.10.2
  </code></pre>
  
  <p><strong><em>Figure of Visual C++ redistributable package:</em></strong>
  <a href="https://i.stack.imgur.com/6lTNY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6lTNY.png" alt="enter image description here"></a></p>
  
  <p><strong><em>Problems:</em></strong></p>
  
  <ol>
  <li>Visual C++ redistributable package is not installed since <a href="https://www.microsoft.com/en-us/download/confirmation.aspx?id=48145" rel="nofollow noreferrer">Visual C++ redistributable package</a> in the tutorial is an older version (<strong>2015</strong>) then mine (<strong>2017</strong>).</li>
  <li><p>It shows following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "CreateDeviceIdentity.py", line 2, in &lt;module&gt;
      import iothub_service_client
    File "F:\Settings\Windows\ProgramFiles\Python\lib\site-packages\iothub_service_client\__init__.py", line 1, in &lt;module&gt;
      from .iothub_service_client import *
  ImportError: DLL load failed: The specified module could not be found.
  </code></pre></li>
  </ol>
  
  <p><strong><em>Question:</em></strong></p>
  
  <ol>
  <li>How how can I solve this problem?</li>
  </ol>
  
  <p><strong>N.B:</strong> I have completed those basic tutorial provided for <strong>Java</strong> and <strong>NodeJS</strong> developers.</p>