From 253dc7d7cd6cae88b8f2d777c1b2996390b37e54 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 13 Jul 2024 22:52:49 +0200 Subject: [PATCH] Ubuntu 22 doesn't have psycopg yet --- vagrant/Install-on-Ubuntu-22.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vagrant/Install-on-Ubuntu-22.sh b/vagrant/Install-on-Ubuntu-22.sh index aa23128a..d02ea0a7 100755 --- a/vagrant/Install-on-Ubuntu-22.sh +++ b/vagrant/Install-on-Ubuntu-22.sh @@ -26,10 +26,14 @@ export DEBIAN_FRONTEND=noninteractive #DOCS: nlohmann-json3-dev postgresql-14-postgis-3 \ postgresql-contrib-14 postgresql-14-postgis-3-scripts \ libicu-dev python3-dotenv \ - python3-psycopg python3-psutil python3-jinja2 \ + python3-pip python3-psutil python3-jinja2 \ python3-sqlalchemy python3-asyncpg \ python3-icu python3-datrie python3-yaml git +# Some of the Python packages that come with Ubuntu 22.04 are too old, +# so install the latest version from pip: + + pip3 install --user psycopg[binary] # # System Configuration -- 2.39.5