Home > Blockchain >  How to enable plpython3u on macOS?
How to enable plpython3u on macOS?

Time:01-13

When running the below

CREATE EXTENSION plpython3u

I get this

ERROR:  could not load library "/Library/PostgreSQL/14/lib/postgresql/plpython3.so": dlopen(/Library/PostgreSQL/14/lib/postgresql/plpython3.so, 0x000A): Library not loaded: /Library/edb/languagepack/v2/Python-3.9/lib/libpython3.9.dylib
  Referenced from: /Library/PostgreSQL/14/lib/postgresql/plpython3.so
  Reason: tried: '/Library/edb/languagepack/v2/Python-3.9/lib/libpython3.9.dylib' (no such file), '/usr/lib/libpython3.9.dylib' (no such file)
SQL state: 58P01
  • MacOS Monterey 12.0.1
  • pgAdmin 4 5.7
  • PostgresSQL 14
  • Python 3.9

Any ideas?

CodePudding user response:

This issue is resolved by installing EDB Language Pack v2.0-1 via Stack Builder Solution

  •  Tags:  
  • Related