Install postgresql-plpython3-10 by entering the following commands in the terminal:
sudo apt update sudo apt install postgresql-plpython3-10
Description:
PL/Python 3 procedural language for PostgreSQL 10
PL/Python 3 enables an SQL developer to write procedural language functions for PostgreSQL 10 in Python 3. You need this package if you have any PostgreSQL 10 functions that use the languages plpython3 or plpython3u. . PostgreSQL is an object-relational SQL database management system.
Homepage: http://www.postgresql.org/
Version: 10.3-1
Section: database