MAC pip提示OpenSSL头文件
错误如下
Bignum.xs:5:10: fatal error: ‘openssl/err.h’ file not found
显而易见,是没有找到 OpenSSL 的头文件导致。
出现这个问题的原因是因为mac自带openssl,brew pip 并不想修改系统文件
但我们又需要它,可以软连接头文件,或者直接copy过去
ln -s /usr/local/Cellar/openssl/1.0.2p/include/openssl /usr/local/include