From 44e3551b3b7ba21b1d411f0775e7de5277ccf3f2 Mon Sep 17 00:00:00 2001 From: Bruno Novais Date: Tue, 5 Jan 2021 16:21:15 -0300 Subject: [PATCH] readme add Troubleshooting for zlib on mac based on #23 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b8bdac0..d3fbda4 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,8 @@ In **PowerShell** or in a **Command Prompt** window: Most installation problems on macOS are related to loading and linking OpenSSL and zlib. The following command installs the necessary packages and tells the Python installer where to find them: ``` - brew install zlib openssl readline + brew install zlib openssl readline pyenv + pyenv install 3.7.2 CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib" ``` Run `brew info` to get the latest environment variable export suggestions, such as `brew info zlib`