From: Sarah Hoffmann Date: Sat, 13 Jul 2024 20:52:49 +0000 (+0200) Subject: Ubuntu 22 doesn't have psycopg yet X-Git-Tag: deploy~4^2~8^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/253dc7d7cd6cae88b8f2d777c1b2996390b37e54?ds=sidebyside;hp=--cc Ubuntu 22 doesn't have psycopg yet --- 253dc7d7cd6cae88b8f2d777c1b2996390b37e54 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