2013-01-16 136 views
3

我正在使用Titanium 3.0並嘗試更新pyOpenSSL。我檢查了python網站,只能看到Windows的可下載鏈接。在Tianium論壇上他們說:「如果你使用MacPorts或Homebrew安裝Python,使用相同的工具來安裝PyOpenSSL和PyCrypto。」我嘗試使用自制軟件,並做了「brew install pyopenssl」,並得到錯誤消息「沒有pyopenssl可用的公式」。有什麼建議?如何在Mac OS X上安裝pyOpenSSL?

回答

6

嘗試使用easy_install的

easy_install PyOpenSSL

easy_install PyCrypto

+0

感謝@meeech,運作良好 – Levin

+1

我得到了''openssl/e_os2.h'文件未找到「的錯誤,它們禁止'easy_install PyOpenSSL'完成。在解決問題之前,運行'brew link openssl'和'brew link openssl --force'。謝謝! –