OSX環境(10.11.6 Beta(15G12a))で、cryptographyをpipでインストールしようとした際に遭遇したエラーに対する対策メモ。 いまおもえばpastebinにでも貼っておいたほうがよかった。 問題 brewでインストールしたOpenSSLのヘッダファイル(opensslv.h)を見つけてくれず、コンパイル時にエラーとなる。 % pip install cryptography Collecting cryptography Using cached cryptography-1.4.tar.gz <...> building '_openssl' extension creating build/temp.macosx-10.11-intel-2.7/build creating build/temp.macosx-10.11-intel-2.7/build/te