BUG #16221: ERROR while importing Plpython , pltcl - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16221: ERROR while importing Plpython , pltcl
Date
Msg-id 16221-eee1afe4563008e3@postgresql.org
Whole thread Raw
Responses Re: BUG #16221: ERROR while importing Plpython , pltcl
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16221
Logged by:          kalyan singh
Email address:      kalyan.singh@capgemini.com
PostgreSQL version: 11.0
Operating system:   WINDOWS 10
Description:

We are trying to import  “plpythonu” in postgresql  but when running the
below query we are getting an error:-
CREATE EXTENSION plpythonu
 ERROR:  could not load library "C:/Program
Files/PostgreSQL/11/lib/plpython2.dll": The specified module could not be
found.
Although I have “plpython2.dll” is there in the same location.
I have tried CREATE EXTENSION plpythonu3  getting same error although I have
all the  .control file in the expected location.
I have also tried to import pltcl but getting same error.
My python version is -3.8

Can you please help us to overcome this issue.
Need this because we need to send mail through a procedure in postgresql.


pgsql-bugs by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Wrong hash table size calculation in Parallel Hash Join
Next
From: Julien Rouhaud
Date:
Subject: Re: BUG #16221: ERROR while importing Plpython , pltcl