Skip to content

Commit 2f8e1b8

Browse files
committed
chore: update macos 12.3 instructions
1 parent a2a3ef7 commit 2f8e1b8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

environment-setup.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ If the binary is not found run `gem env` to examine your folders, and update you
238238

239239
Starting with macOS 12.3, python 2.x is no longer shipped with the system and requires you to install it manually.
240240

241-
If you are on macOS 12.3 or newer, please follow these instructions. These instructions may change over time, as we are still evaluating whether or not there's a better approach, but the following should get you running on macOS 12.3+.
241+
If you are on macOS 12.3 or newer, please follow these instructions.
242+
243+
:warning: These instructions may change over time, as we are still evaluating whether or not there's a better approach, but the following should get you running on macOS 12.3+.
242244

243245
First, install **<abbr title="Python version manager">pyenv</abbr>** and [email protected] by running the following:
244246

@@ -248,6 +250,9 @@ pyenv install 2.7.18
248250
249251
# set the global python version to 2.7.18
250252
pyenv global 2.7.18
253+
254+
# link the installed python version to be available to XCode
255+
ln -s ~/.pyenv/shims/python /usr/local/bin/python
251256
```
252257

253258
To load and initialize pyenv, add the following lines to your shell profile, usually `~/.bash_profile` or `~/.bashrc`, or if you are using `zsh` then `~/.zshrc`:

0 commit comments

Comments
 (0)