fabric使用错误,安装cryptography高版本问题

时间:2017-03-06 22:27:00   收藏:0   阅读:1567

 在使用fab的时候报错:

pkg_resources.DistributionNotFound: The ‘cryptography>=1.1‘ distribution was not found and is required by paramiko


语义翻译:

cryptography 版本过低,需要安装1.1以上版本;


所以执行:

pip install cryptography


报类似错误:

    build/temp.linux-x86_64-2.6/_openssl.c:72268: 错误:‘_cffi_f_sk_X509_push’未声明(不在函数内)

    build/temp.linux-x86_64-2.6/_openssl.c:72269: 错误:‘_cffi_f_sk_X509_value’未声明(不在函数内)

    build/temp.linux-x86_64-2.6/_openssl.c:73004: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘init_openssl’


所以安装:

yum install openssl-devel  python-devel -y


问题解决~!

    

本文出自 “hellodooooog” 博客,谢绝转载!

原文:http://ikonw.blog.51cto.com/5388279/1903761

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!