I am using Titanium 3.0 and trying to update pyOpenSSL. I have checked the python website and only see downloadable links for Windows. In the Tianium forum they say that "If you installed Python using MacPorts or Homebrew, use the same utility to install PyOpenSSL and PyCrypto." I tried using homebrew and did "brew install pyopenssl" and got the error message "No available formula for pyopenssl". Any advice?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
try using easy_install
easy_install PyOpenSSL
easy_install PyCrypto
回答2:
Install via Homebrew:
brew install openssl env ARCHFLAGS="-arch x86_64" LDFLAGS="-L/usr/local/opt/openssl/lib" CFLAGS="-I/usr/local/opt/openssl/include" pip install cryptography
This answer is from https://chriskief.com/2014/03/25/installing-cryptography-via-pip-with-macports-or-homebrew/comment-page-1/#comment-2809