安装M2Crypto
#python3 -m pip install M2Crypto
出现错误
1 gcc: /usr/lib/rpm/redhat/redhat-hardened-cc1:Nosuch file or directory
安装 redhat-rpm-config
1 dnf install redhat-rpm-config
再次安装
1 安装M2Crypto 2 #python3 -m pip install M2Crypto
致命错误
1 Python.h: No such file or directory
安装 python3-devel
1 dnf install python3-devel
再次安装
1 安装M2Crypto 2 #python3 -m pip install M2Crypto
致命错误
1 openssl/err.h: No such file or directory
安装 openssl-devel
1 dnf install openssl-devel
再次安装
安装M2Crypto
#python3 -m pip install M2Crypto
大功告成
未经允许不得转载