Closed diegoos closed 3 years ago
I had the same problem and this comment worked for me.
Hi @eltonscm. Following the link, I managed to install version 3.6.0.
An important detail that I had not tried in the other alternatives that I followed was to update the openssl
.
I already had all dependencies mentioned in the link you sent, but there was an error warning about the version of openssl
.
Error: openssl@1.1 1.1.1h is already installed.
To upgrade to 1.1.1j, run:
brew upgrade openssl@1.1
The brew upgrade openssl@1.1
updated more than 20 dependencies including python
and readline
.
Finally, it worked by running the commands from the link you sent. Thanks!
here's the solution for asdf users on Big Sur
brew install bzip2 lbzip2 lzlib openssl zlib
LDFLAGS="-L/usr/local/opt/bzip2/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@1.1/lib" CFLAGS="-I/usr/local/opt/bzip2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I$(xcrun --show-sdk-path)/usr/include -Wno-implicit-function-declaration" asdf install python 3.6.13
Hi.
I'm getting an error when try to install python 3.6.0 (I've tried other versions like 3.9.0, 3.6.10, 3.7...).
I'm using:
MacOs Big Sur Version 11.2.1
Clang 12.0.0
gcc
Command Line Tools version: 12.4.0.0.1.1610135815
Until now I've tried to:
zlib
andbzip2
from homebrewCan someone help with any other alternative or way to fix this?