如何在macOS上启用plpython3u?

4

当运行以下代码时

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

有什么想法吗?

2个回答

2

您必须使用EDB安装Postgres本身才能使用Stack Builder。 - Joe McMahon

1

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接