diff --git a/docs/dev_environment.md b/docs/dev_environment.md --- a/docs/dev_environment.md +++ b/docs/dev_environment.md @@ -561,6 +561,14 @@ This script will create the `server/secrets/olm_config.json` config file. +## Python + +For ARM-based Macs, installing python 2.7 is required. + +We use `@redux-devtools/cli` which depends on `sqlite3` (the npm package) which doesn't have prebuilt binaries for ARM-based Macs. The `sqlite3` native build depends on a script written in Python 2.x. Up until macOS 12.3, Python 2.7 was "included in macOS for compatibility with legacy software." if your machine is running macOS 12.3 or later, you need to download Python 2.7 manually. + +Installing Python 2.x via Homebrew is no longer officially supported. Instead, download and install the Python 2.7.18 64-bit macOS installer from the [Python.org release page](https://www.python.org/downloads/release/python-2718/). + ## Phabricator The last configuration step is to set up an account on Phabricator, where we handle code review. Start by [logging in to Phabricator](https://phabricator.ashoat.com) using your GitHub account.