开发者_开发百科
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this questionI have postgreSQL version 8.3 installed on an ubuntu machine. This was installed via apt get. When I was trying to source a database dump that has some plsql functions written, I got the following error -
could not access file "$libdir/plpython": No such file or directory
When I tried to enable python support for a particular database, I got yet another error -
$ createlang plpythonu <dbname> -U postgres
createlang: language installation failed: ERROR: could not access file "$libdir/plpython": No such file or directory
Is there a way that I can add support for python without having to reinstall postgreSQL?
sudo apt-get install postgresql-plpython-8.3
or for postgresql 8.4:
sudo apt-get install postgresql-plpython-8.4
Install postgresql-plpython-8.3
?
精彩评论