Updating install prerequisites for newer macOS & ARM Macs. (#9971)

This commit is contained in:
Luke Walsh 2021-07-15 20:18:58 +08:00 committed by GitHub
parent c141455049
commit 23a90a6a5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

1
changelog.d/9971.doc Normal file
View File

@ -0,0 +1 @@
Updated installation dependencies for newer macOS versions and ARM Macs. Contributed by Luke Walsh.

View File

@ -166,13 +166,16 @@ sudo dnf groupinstall "Development Tools"
Installing prerequisites on macOS: Installing prerequisites on macOS:
You may need to install the latest Xcode developer tools:
```sh ```sh
xcode-select --install xcode-select --install
sudo easy_install pip
sudo pip install virtualenv
brew install pkg-config libffi
``` ```
On ARM-based Macs you may need to explicitly install libjpeg which is a pillow dependency. You can use Homebrew (https://brew.sh):
```sh
brew install jpeg
```
On macOS Catalina (10.15) you may need to explicitly install OpenSSL On macOS Catalina (10.15) you may need to explicitly install OpenSSL
via brew and inform `pip` about it so that `psycopg2` builds: via brew and inform `pip` about it so that `psycopg2` builds: