easy_install.exe在线安装paramiko模块时安装依赖库pycrypto失败;

来源:互联网 发布:淘宝女装轮播图片 编辑:程序博客网 时间:2024/06/06 00:56

C:\Python27\Scripts>
C:\Python27\Scripts>easy_install.exe paramiko
Searching for paramiko
Reading https://pypi.python.org/simple/paramiko/
Best match: paramiko 1.14.0
Downloading https://pypi.python.org/packages/source/p/paramiko/paramiko-1.14.0.t
ar.gz#md5=e26324fd398af68ad506fe98853835c3
Processing paramiko-1.14.0.tar.gz
Writing c:\users\heyn\appdata\local\temp\easy_install-gaqgtb\paramiko-1.14.0\set
up.cfg
Running paramiko-1.14.0\setup.py -q bdist_egg --dist-dir c:\users\heyn\appdata\l
ocal\temp\easy_install-gaqgtb\paramiko-1.14.0\egg-dist-tmp-vik7pf
zip_safe flag not set; analyzing archive contents...
Adding paramiko 1.14.0 to easy-install.pth file

Installed c:\python27\lib\site-packages\paramiko-1.14.0-py2.7.egg
Processing dependencies for paramiko
Searching for ecdsa
Reading https://pypi.python.org/simple/ecdsa/
Best match: ecdsa 0.11
Downloading https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.11.tar.gz#md
5=8ef586fe4dbb156697d756900cb41d7c
Processing ecdsa-0.11.tar.gz
Writing c:\users\heyn\appdata\local\temp\easy_install-vfozz4\ecdsa-0.11\setup.cf
g
Running ecdsa-0.11\setup.py -q bdist_egg --dist-dir c:\users\heyn\appdata\local\
temp\easy_install-vfozz4\ecdsa-0.11\egg-dist-tmp-9yq6h1
zip_safe flag not set; analyzing archive contents...
Adding ecdsa 0.11 to easy-install.pth file

Installed c:\python27\lib\site-packages\ecdsa-0.11-py2.7.egg
Searching for pycrypto>=2.1,!=2.4
Reading https://pypi.python.org/simple/pycrypto/
Best match: pycrypto 2.6.1
Downloading https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.ta
r.gz#md5=55a61a054aa66812daf5161a0d5d7eda
Processing pycrypto-2.6.1.tar.gz
Writing c:\users\heyn\appdata\local\temp\easy_install-zm8q6x\pycrypto-2.6.1\setu
p.cfg
Running pycrypto-2.6.1\setup.py -q bdist_egg --dist-dir c:\users\heyn\appdata\lo
cal\temp\easy_install-zm8q6x\pycrypto-2.6.1\egg-dist-tmp-rdpu6s
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.

error: Setup script exited with error: Unable to find vcvarsall.bat

C:\Python27\Scripts>

通过exe安装包安装pycrypto可以安装成功,pycrypto的exe安装包下载地址:
http://www.voidspace.org.uk/python/modules.shtml#pycrypto
0 0