pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Harold <bharold@esri.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Error creating plpython3u extension
Date: Tue, 8 May 2018 20:28:29 +0000
Message-ID: <f6cc8f8751a543d998abb662c450cf46@RED-INF-MXMB-P2.esri.com> (raw)

Hi

I have PostgreSQL 10 on Windows 10 and the EDB language pack X64 for Python 3.4 etc.

I edited the system environment variables:

PYTHONPATH = C:\edb\languagepack-10\x64\Python-3.4
Added C:\edb\LanguagePack-10\x64\Python-3.4\bin to PATH

Creating the extension plpython3u errors:

ERROR: could not load library "C:/Program Files/PostgreSQL/10/lib/plpython3.dll": The specified module could not be found

I have conda on the same machine with one Python 3.6 environment, I tried adding a Python 3.4 environment with conda but no luck there either.

Anyone have any experience enabling plpython3u in a conda environment?

Thanks

Bruce

view thread (6+ messages)  latest in thread

Message-ID: <f6cc8f8751a543d998abb662c450cf46@RED-INF-MXMB-P2.esri.com>
Permalink:  ../f6cc8f8751a543d998abb662c450cf46@RED-INF-MXMB-P2.esri.com/
Also on:    postgresql.org/message-id/f6cc8f8751a543d998abb662c450cf46@RED-INF-MXMB-P2.esri.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: bharold@esri.com
  Subject: Re: Error creating plpython3u extension
  In-Reply-To: <f6cc8f8751a543d998abb662c450cf46@RED-INF-MXMB-P2.esri.com>
  References: <f6cc8f8751a543d998abb662c450cf46@RED-INF-MXMB-P2.esri.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox