1.环境
win7 64位
python 2.7.9
2.按照某篇博客安装
http://laocao.blog.51cto.com/480714/525667
依次安装MinGW,pycrypto,paramiko。博客中提到
ImportError: DLL load failed: %1 is not a valid Win32 application
pip install --upgrade paramiko
*if you get this error during upgrade:
AttributeError: 'str' object has no attribute 'rollback', do:
<span style="white-space:pre"> </span>pip uninstall pycrypto and enter (y)
<span style="white-space:pre"> </span>pip install pycrypto
<span style="white-space:pre"> </span>pip install ecdsa
然后import paramiko又有新的问题
pip install wheel
pip uninstall pycrypto paramiko
pip install paramiko
重新安装,然后都妥妥的了。