fatal error C1083: Cannot open include file: 'openssl/opensslv.h'

在安装针对ELK系统的警告工具elastalert时,报错: fatal error C1083: Cannot open include file: 'openssl/opensslv.h',如下图:

查了很多 opensslcryptography 库的资料,还是没搞定,仔细看报错Log后发现安装的命令是easy_install,于是转用 pip install cryptography 命令单独下载这个库,再去执行elasalert文件夹中的setup.py文件, python setup.py install,没有再出现这个报错了,问题解决了。

原文地址:https://www.cnblogs.com/yourstars/p/8024276.html