这个需要安装
pip install cryptography
安装这个过程中提示缺少cffi
pip install cffi
提示gcc报错:error: command ‘gcc’ failed with exit status 1
这个时候是缺少
yum install python-devel
yum install libevent-devel
安装完成之后,再次执行:
pip install cffi
cffi安装完成之后再次执行:
pip install cryptography
可以正常导入OpenSSL了
另:
yum install python-pip python-wheel
Latest posts by Zhiming Zhang (see all)
- 限制读取s3的某个文件夹下文件的权限 - 4月 14, 2021
- cli 批量restore s3DEEP_ARCHIVE - 4月 13, 2021
- 什么是gitops - 3月 25, 2021