mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-16 07:13:53 -05:00
Additional SDK headers mentioned for Mac OS X 10.14 .
@@ -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
|
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
|
```sh
|
||||||
xcode-select --install
|
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:
|
If you experience both issues with openssl and zlib, you can specify both search paths as a compiler flag:
|
||||||
|
|||||||
Reference in New Issue
Block a user