Using PL / Pythonu with virtualenv
2 answers
Answer at fooobar.com/questions/1889865 / ...
tl; dr - exec activate_this.py inside the plpython function will install the python interpreter for the life of the postgresql session.
+2
source to share