mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-15 23:03:53 -05:00
Don't assume default install location
@@ -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:
|
* If you installed zlib with Homebrew, you can set the CPPFLAGS environment variable:
|
||||||
```sh
|
```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)
|
* 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)
|
||||||
|
|||||||
Reference in New Issue
Block a user