diff --git a/install.py b/install.py index 40dba36e..71647824 100644 --- a/install.py +++ b/install.py @@ -157,6 +157,14 @@ def install_prerequisites(): ] }) + # until psycopg2-binary is available for aarch64 (Arm 64-bit), we'll need libpq and libssl dev packages to build psycopg2 from source + if platform.machine() == 'aarch64': + log("Installing libpq and libssl dev packages to build psycopg2 for aarch64...") + run_os_command({ + 'apt-get': ['sudo apt-get install -y libpq-dev libssl-dev'], + 'yum': ['sudo yum install -y libpq-devel openssl-devel'] + }) + install_package('curl') install_package('wget') install_package('git')