Skip to content Skip to sidebar Skip to footer

Install Pl/python On Windows For Postgresql 12

I've been working on FHIR for a project and we are using PostgreSQL as a database. While reading docs, I've come to know about PL/Python and decided to give it a shot but I am unab

Solution 1:

Even if you use the EDB installer's Stack Builder to install Python, you still have to follow the instructions to "ensure they are included in the PATH variable under which the database server will be started". I had to do this at the system level, as I can't find a way to set the PATH for individual services.

And then you also need to set PYTHONPATH as well, which seems to be undocumented.

So I ended up adding c:\edb\languagepack\v1\Python-3.7 to PATH and creating PYTHONPATH with c:\edb\languagepack\v1\Python-3.7\Lib.

Solution 2:

I had to add directory containing plpython3.dll do system/user variables (windows).

Post a Comment for "Install Pl/python On Windows For Postgresql 12"