python ssl problems

I had an error when using pycurl - difference with the mac and ssl

export CPPFLAGS=-I/usr/local/opt/openssl/include
export LDFLAGS=-L/usr/local/opt/openssl/lib
#Installing with pip
pip install pycurl --global-option="--with-openssl"