asdf-community / asdf-community/asdf-python

Can't install Python 3.6.15 on OSX 10.15.7

Abierto
#112 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Shell
Estrellas
729
Forks
65
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When I try installing Python 3.6.15 on OSX 10.15.7 it fails:

```
asdf install python 3.6.15
python-build 3.6.15 /Users/trevorbrown/.asdf/installs/python/3.6.15
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.6.15.tar.xz...
-> https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tar.xz
Installing Python-3.6.15...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems

BUILD FAILED (OS X 10.15.7 using python-build 2.0.6-14-ge56962b3)

Inspect or clean up the working tree at /var/folders/7m/9bq62tmj60zf14d788w0lk8c0000gp/T/python-build.20210917113737.35119
Results logged to /var/folders/7m/9bq62tmj60zf14d788w0lk8c0000gp/T/python-build.20210917113737.35119.log

Last 10 log lines:
install|*) ensurepip="" ;; \
esac; \
./python.exe -E -m ensurepip \
$ensurepip --root=/ ; \
fi
Looking in links: /var/folders/7m/9bq62tmj60zf14d788w0lk8c0000gp/T/tmpimujpeip
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-18.1 setuptools-40.6.2
```

It's not clear to me from the error message and the logs what failed. Installing Python 3.6.13 however succeeds:

```
asdf install python 3.6.13
python-build 3.6.13 /Users/trevorbrown/.asdf/installs/python/3.6.13
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.6.13.tar.xz...
-> https://www.python.org/ftp/python/3.6.13/Python-3.6.13.tar.xz
Installing Python-3.6.13...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
Installed Python-3.6.13 to /Users/trevorbrown/.asdf/installs/python/3.6.13
```

Output from `asdf info`:

```
OS:
Darwin it-mbp-trevorbrown.home 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 22 19:49:55 PDT 2021; root:xnu-6153.141.35~1/RELEASE_X86_64 x86_64

SHELL:
zsh 5.7.1 (x86_64-apple-darwin19.0)

ASDF VERSION:
v0.8.1-7e1f2a0

ASDF ENVIRONMENT VARIABLES:
ASDF_DIR=/Users/trevorbrown/.asdf

ASDF INSTALLED PLUGINS:
clojure https://github.com/halcyon/asdf-clojure.git master c6125ab
elasticsearch https://github.com/asdf-community/asdf-elasticsearch.git master b908f32
elixir ssh://git@github.com/asdf-vm/asdf-elixir.git master 63e9cd8
erlang git@github.com:asdf-vm/asdf-erlang.git better-logging b90f3ee
java https://github.com/halcyon/asdf-java.git master b050643
kafka git@github.com:JoshAshby/asdf-kafka.git master 6c8660a
lua git@github.com:Stratus3D/asdf-lua.git master ef66ab8
nodejs ssh://git@github.com/asdf-vm/asdf-nodejs.git master 95a2091
postgres https://github.com/smashedtoatoms/asdf-postgres.git master 2fa062b
python https://github.com/tuvistavie/asdf-python.git master 57a4d72
rebar https://github.com/Stratus3D/asdf-rebar.git master f3aa004
ruby git@github.com:asdf-vm/asdf-ruby.git charlesbjohnson-charlesbjohnson/gemfile-parsing 606cb83
yarn https://github.com/twuni/asdf-yarn.git master 5525eb2
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Empieza reproduciendo `asdf install python 3.6.15` en el entorno de macOS indicado y compara su salida con la instalación correcta de 3.6.13. Inspecciona el registro de python-build y la configuración de OpenSSL; se considera terminado cuando Python 3.6.15 se instala con su extensión ssl compilada correctamente.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python, shell
Área
tooling
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.