I need to install plpython because I'm getting the error
could not access file "$libdir/plpython2": No such file or directory
when trying to do python manage.py migrate. I have seen different suggestions on how to install this package but none works for me because I need to be using python version 2.7 (some people suggested installing python 3.2) and I cannot run sudo apt-get install ... because I have to be working on a mac.
I have tried running
CREATE LANGUAGE plpython2u;
but I got the error
ERROR: could not access file "$libdir/plpython2": No such file or directory
Also, I have tried pip/brew install plpython
. But no result. Any suggestions?
If anybody has the same problem, I fixed this by uninstalling postgres and installing it using brew install postgres --with-python