title: Python Unknown exception: DLL load failed: The specified module could not be found. Netmiko module
body: <p>I am running the below script, not sure why its not running. I am using it to connect with a network device using the <code>netmiko</code> module</p>
  
  <pre><code>from netmiko import ConnectHandler
  
  sh_run = {'device_type': 'cisco_ios', 'ip': '152.120.12.34', 'username': 'selvam', 'password': '09629737', 'port': 22}
  net_connect = ConnectHandler(**sh_run)
  output = net_connect.send_command("show run | i authentication")
  print(output)
  </code></pre>
  
  <p>I am running on pycharm tool in windows10x64 machine and got below error.  </p>
  
  <blockquote>
    <p>Unknown exception: DLL load failed: The specified module could not be
    found.
        Traceback (most recent call last):
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\transport.py", line
    1888, in run
            self.kex_engine.parse_next(ptype, m)
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\kex_group1.py", line
    75, in parse_next
            return self._parse_kexdh_reply(m)
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\kex_group1.py", line
    114, in _parse_kexdh_reply
            self.transport._verify_key(host_key, sig)
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\transport.py", line
    1747, in _verify_key
            key = self._key_infoself.host_key_type
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\rsakey.py", line 62,
    in <strong>init</strong>
            ).public_key(default_backend())
          File "C:\Users\selvam\AppData\Local\Continuum\anaconda3\lib\site-packages\cryptography\hazmat\backends__init__.py",
    line 15, in default_backend
            from cryptography.hazmat.backends.openssl.backend import backend
          File "C:\Users\selvam\AppData\Local\Continuum\anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl__init__.py",
    line 7, in 
            from cryptography.hazmat.backends.openssl.backend import backend
          File "C:\Users\selvam\AppData\Local\Continuum\anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py",
    line 53, in 
            from cryptography.hazmat.bindings.openssl import binding
          File "C:\Users\selvam\AppData\Local\Continuum\anaconda3\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py",
    line 13, in 
            from cryptography.hazmat.bindings._openssl import ffi, lib
        ImportError: DLL load failed: The specified module could not be found.</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "C:\Users\selvam\venv\lib\site-packages\netmiko\ssh_dispatcher.py",
  </code></pre>
    
    <p>line 168, in ConnectHandler
            return ConnectionClass(*args, **kwargs)
          File "C:\Users\selvam\venv\lib\site-packages\netmiko\base_connection.py",
    line 187, in <strong>init</strong>
            self.establish_connection()
          File "C:\Users\selvam\venv\lib\site-packages\netmiko\base_connection.py",
    line 650, in establish_connection
            self.remote_conn_pre.connect(**ssh_connect_params)
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\client.py", line 392,
    in connect
            t.start_client(timeout=timeout)
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\transport.py", line
    545, in start_client
            raise e
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\transport.py", line
    1888, in run
            self.kex_engine.parse_next(ptype, m)
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\kex_group1.py", line
    75, in parse_next
            return self._parse_kexdh_reply(m)
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\kex_group1.py", line
    114, in _parse_kexdh_reply
            self.transport._verify_key(host_key, sig)
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\transport.py", line
    1747, in _verify_key
            key = self._key_infoself.host_key_type
          File "C:\Users\selvam\venv\lib\site-packages\paramiko\rsakey.py", line 62,
    in <strong>init</strong>
            ).public_key(default_backend())
          File "C:\Users\selvam\AppData\Local\Continuum\anaconda3\lib\site-packages\cryptography\hazmat\backends__init__.py",
    line 15, in default_backend
            from cryptography.hazmat.backends.openssl.backend import backend
          File "C:\Users\selvam\AppData\Local\Continuum\anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl__init__.py",
    line 7, in 
            from cryptography.hazmat.backends.openssl.backend import backend
          File "C:\Users\selvam\AppData\Local\Continuum\anaconda3\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py",
    line 53, in 
            from cryptography.hazmat.bindings.openssl import binding
          File "C:\Users\selvam\AppData\Local\Continuum\anaconda3\lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py",
    line 13, in 
            from cryptography.hazmat.bindings._openssl import ffi, lib
        ImportError: DLL load failed: The specified module could not be found.</p>
  </blockquote>