1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-15 23:03:53 -05:00

Don't assume default install location

Francis T. O'Donovan
2018-12-05 21:49:07 -05:00
parent 79cbaec136
commit 4b6360daa8

@@ -122,7 +122,7 @@ CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 2.7.7
* If you installed zlib with Homebrew, you can set the CPPFLAGS environment variable:
```sh
CPPFLAGS="-I/usr/local/opt/zlib/include" pyenv install -v 3.7.0
CPPFLAGS="-I$(brew --prefix zlib)/include" pyenv install -v 3.7.0
```
* Alternatively, try reinstalling XCode command line tools for your OS and when running Mojave or higher (10.14+) you will also [need to install the additional SDK headers](https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes#3035624)