python安装pyOpenSSL的时候报错"error: command 'gcc' failed with exit status 1",在git上找到的解决方案:

yum -y install gcc gcc-c++ kernel-devel
yum -y install python-devel libxslt-devel libffi-devel openssl-devel
pip install cryptography


但是洒家是在csdn上找到了一个方法,试试居然可以了

yum install libffi libffi-devel
好了,就这么多