title: Install paramiko on Windows
body: <p>OK. I read <a href="https://stackoverflow.com/questions/2964658/installing-paramiko-on-windows">installing paramiko on Windows</a>.</p>
  
  <p>All mentioned methods simply do not work.</p>
  
  <p>Authors have different environments with different components/libraries installed. Or may be they don't test their solutions before posting an answer :)</p>
  
  <p>I removed all python versions and libs from my machine (Windows 8 x64) and tried to install python and paramiko from scratch.</p>
  
  <p><strong>Method number 1 (FAILED)</strong></p>
  
  <ol>
  <li>Install python-2.7.3.amd64.msi</li>
  <li>Install pycrypto-2.6.win-amd64-py2.7.exe</li>
  <li>Download <a href="https://github.com/paramiko/paramiko/archive/master.zip" rel="nofollow noreferrer">https://github.com/paramiko/paramiko/archive/master.zip</a>, unpack it.</li>
  <li>Run setup.py install</li>
  <li>Go to IDLE, run import paramiko.</li>
  </ol>
  
  <p>Result:</p>
  
  <pre><code>Traceback (most recent call last):   File "&lt;pyshell#0&gt;", line 1, in
  &lt;module&gt;
    import paramiko   File "C:\Python27\lib\site-packages\paramiko\__init__.py", line 65, in
  &lt;module&gt;
      from transport import SecurityOptions, Transport   File "C:\Python27\lib\site-packages\paramiko\transport.py", line 45, in
  &lt;module&gt;
     from paramiko.ecdsakey import ECDSAKey   File "C:\Python27\lib\site-packages\paramiko\ecdsakey.py", line 24, in
  &lt;module&gt;
    from ecdsa import SigningKey, VerifyingKey, der, curves ImportError: No module named ecdsa
  </code></pre>
  
  <p><strong>Method number 2 (FAILED)</strong></p>
  
  <ol>
  <li>Install python-2.7.3.amd64.msi</li>
  <li>Install setuptools-1.4.2.win-amd64-py2.7.exe</li>
  <li>Install pip-1.4.1.win-amd64-py2.7.exe</li>
  <li>pip install paramiko</li>
  <li>Go to IDLE, run import paramiko.</li>
  </ol>
  
  <p>Result:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;pyshell#0&gt;", line 1, in &lt;module&gt;
      import paramiko
    File "C:\Python27\lib\site-packages\paramiko\__init__.py", line 64, in &lt;module&gt;
      from transport import SecurityOptions, Transport
    File "C:\Python27\lib\site-packages\paramiko\transport.py", line 33, in &lt;module&gt;
      from paramiko import util
    File "C:\Python27\lib\site-packages\paramiko\util.py", line 33, in &lt;module&gt;
      from paramiko.common import *
    File "C:\Python27\lib\site-packages\paramiko\common.py", line 98, in &lt;module&gt;
      from Crypto import Random
  ImportError: No module named Crypto
  </code></pre>
  
  <p><strong>Method number 3 (SUCCESS)</strong></p>
  
  <ol>
  <li>Install <strong>python-2.7.3.amd64.msi</strong></li>
  <li>Install <strong>pycrypto-2.6.win-amd64-py2.7.exe</strong></li>
  <li>Install <strong>setuptools-1.4.2.win-amd64-py2.7.exe</strong></li>
  <li>Install <strong>pip-1.4.1.win-amd64-py2.7.exe</strong></li>
  <li>Run <strong>pip install ecdsa</strong></li>
  <li>Download and extract <a href="https://github.com/paramiko/paramiko/archive/master.zip" rel="nofollow noreferrer">https://github.com/paramiko/paramiko/archive/master.zip</a></li>
  <li>Run <strong>setup.py install</strong></li>
  <li>Open IDLE, run <strong>import paramiko</strong></li>
  </ol>
  
  <p><em>Result: no errors</em></p>
  
  <p>Please, help me to find step-by-step algorithm for installing python and paramiko on clean windows 8 machine. Thanx.</p>
  
  <p>UPD: Solution has been found.</p>