1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 22:33:52 -05:00

Additional SDK headers mentioned for Mac OS X 10.14 .

asmaier
2018-10-30 15:19:35 +01:00
parent 1dac8d9cb4
commit 47e3a665ec

@@ -125,10 +125,11 @@ CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 2.7.7
CPPFLAGS="-I/usr/local/opt/zlib/include" pyenv install -v 3.7.0
```
* Alternatively, try reinstalling XCode command line tools for your OS (especially if you just upgraded your OS)
* 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)
```sh
xcode-select --install
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
```
If you experience both issues with openssl and zlib, you can specify both search paths as a compiler flag: