码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-03-06 22:27:00      阅读:590      评论:0      收藏:0      [点我收藏+]

标签:expected   required   fabric   before   

 在使用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” 博客,谢绝转载!

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

标签:expected   required   fabric   before   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!