If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > Getting PLPython to work with PostgreSQL 9.2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Jan 2013
Posts: 1
Getting PLPython to work with PostgreSQL 9.2

Hi,

I have recently installed PostgreSQL 9.2 on my Windows 7 64bit computer. In
addition I have installed Python 3.3. I am new to PostgreSQL, and wish to
play with its support for Python.

I tried to run the command:

CREATE EXTENSION plpython3u

Only to receive the error:

Could not load library "C:/Program Files/PostgreSQL/9.2/lib/plpython3.dll"

Looking at plpython3.dll in Dependency Walker (see attached image) raises two questions:

a) LIBINTL-8.DLL and POSTGRES>EXE actually exist on my system. This appears
to suggest some sort of environment problem.

b) PYTHON32.DLL doesn't exist on my machine (I only have python3.dll). This
would suggest that perhaps the (latest) version of Python I have is not
comptaible

Can anyone shed some light on the problems I am having? I cannot see what
environment variables need to be set (the docs I have read specify nothing).
In addition, no requirements for the supported versions of Python are
defined.

Any ideas ?
Attached Thumbnails
Getting PLPython to work with PostgreSQL 9.2-depends.png  
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On