Description
如题描述,当前在本地高版本的 macos 电脑上,通过直接命令行方式:
pyenv install 3.10
安装 python 提示报错失败:
Error The Python ssl extension was not compiled. Missing the OpenSSL lib?
完整报错路下:
❯ pyenv install 3.10
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.10.12.tar.xz...
-> https://www.python.org/ftp/python/3.10.12/Python-3.10.12.tar.xz
Installing Python-3.10.12...
python-build: use readline from homebrew
python-build: use zlib from homebrew
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/User