PostgreSQL:如何安装plpythonu扩展windows server 我安装了PostgreSQL 12.6,在Visual C++ 1914, 64中编译,在Windows Server 2019上编译。

PostgreSQL:如何安装plpythonu扩展windows server 我安装了PostgreSQL 12.6,在Visual C++ 1914, 64中编译,在Windows Server 2019上编译。,postgresql,python-2.7,plpgsql,plpython,postgres-plpython,Postgresql,Python 2.7,Plpgsql,Plpython,Postgres Plpython,我试图在Windows上用PostgreSQL编写一个函数,其中包含一个Python脚本,在尝试创建plpython2u扩展时遇到一条错误消息。我正在运行的命令是: 创建语言plpython2u 但我还是不断地犯错误 > ERROR: could not access file "$libdir/plpython2": No such file or directory 我在服务器上安装了Python 2.7.16 请建议如何修复此错误

我试图在Windows上用PostgreSQL编写一个函数,其中包含一个Python脚本,在尝试创建plpython2u扩展时遇到一条错误消息。我正在运行的命令是:

创建语言plpython2u

但我还是不断地犯错误

> ERROR:  could not access file "$libdir/plpython2": No such file or directory
我在服务器上安装了Python 2.7.16

请建议如何修复此错误