macOS に pyenv で Python をインストールしようとすると Missing the OpenSSL lib? とエラーが出る場合


(2018/11/11 現在では)Homebrew で pyenv を入れる*1



$ pyenv install 3.7.0
python-build: use openssl from homebrew
python-build: use readline from homebrew
Downloading Python-3.7.0.tar.xz...
Installing Python-3.7.0...
python-build: use readline from homebrew
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

Please consult to the Wiki page to fix the problem.

BUILD FAILED (OS X 10.14.1 using python-build 20180424)

Inspect or clean up the working tree at /var/folders/lp/mlry83b54gdfp8xyjdcjkzgc0000gn/T/python-build.20181111112712.50943
Results logged to /var/folders/lp/mlry83b54gdfp8xyjdcjkzgc0000gn/T/python-build.20181111112712.50943.log

Last 10 log lines:
            install|*) ensurepip="" ;; \
        esac; \
         ./python.exe -E -m ensurepip \
            $ensurepip --root=/ ; \
Looking in links: /var/folders/lp/mlry83b54gdfp8xyjdcjkzgc0000gn/T/tmploln4vj4
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-10.0.1 setuptools-39.0.1


*1:GitHub から引っ張ってこない

Powered by はてなブログ