Mac 安装M2Crypto error解决办法

brew install openssl
brew install swig

env LDFLAGS="-L$(brew --prefix openssl)/lib" \
CFLAGS="-I$(brew --prefix openssl)/include" \
SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" \
pip3 install m2crypto

 

posted @ 2022-01-17 14:08  青春叛逆者  阅读(323)  评论(0编辑  收藏  举报