How do I install pyOpenSSL on Mac OS X?

2019-01-07 00:53发布

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?

标签: pyopenssl
2条回答
时光不老,我们不散
2楼-- · 2019-01-07 01:11

try using easy_install

easy_install PyOpenSSL

easy_install PyCrypto

查看更多
Animai°情兽
3楼-- · 2019-01-07 01:16

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

查看更多
登录 后发表回答