当运行以下代码时
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
有什么想法吗?