今天在给windows下的Python安装paramiko Module时出现了下边这个错误:
D:\Python26\Scripts>easy_install.exe paramiko
install_dir D:\Python26\Lib\site-packages\
Searching for paramiko
Best match: paramiko 1.7.6
Processing paramiko-1.7.6-py2.6.egg
paramiko 1.7.6 is already the active version in easy-install.pth
Using d:\python26\lib\site-packages\paramiko-1.7.6-py2.6.egg
Processing dependencies for paramiko
Searching for pycrypto>=1.9
Reading
Reading
Reading
Reading
Best match: pycrypto 2.3
Downloading files/pycrypto-2.3.tar.gz
Processing pycrypto-2.3.tar.gz
Running pycrypto-2.3\setup.py -q bdist_egg --dist-dir d:\docume~1\anll\locals~1\
temp\easy_install-hmfcr2\pycrypto-2.3\egg-dist-tmp-9ljtte
warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
error: Setup script exited with error: Unable to find vcvarsall.bat
提示安装pycrypto 错误,然后我google it
通过用‘D:\Python26\Scripts>pypm.exe install pycrypto’安装pycrypto成功,
然后再‘D:\Python26\Scripts>easy_install.exe paramiko’,paramiko安装成功,问题解决。
阅读(4020) | 评论(0) | 转发(0) |