How can I compile Python 3.6.2 on macOS with openSSL from homebrew?

前端 未结 4 1916
余生分开走
余生分开走 2020-12-31 20:25

I\'m trying to compile Python 3.6.2 on macOS 10.11 according to the instructions on https://bugs.python.org/issue29095.

I\'ve used homebrew to install openSSL to the

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-31 20:42

    Been struggling with building from pyenv all day so figured I'd contribute the method for doing it in 2020:

    brew install rbenv/tap/openssl@1.0
    PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA=openssl@1.0 pyenv install 3.6.2
    

    or in my case, 3.4.10 (what I tested this with)

    I know this question isn't for pyenv specifically but I found this thread looking for help with pyenv and I'm sure others have too.

    Note that this version of openssl is (currently) 1.0.2t

提交回复
热议问题