Re: Error creating plpython3u extension

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Bruce Harold <bharold(at)esri(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Error creating plpython3u extension
Date: 2018-05-08 22:38:07
Message-ID: bf4f55df-4b71-9c38-154d-32c44b8ffdbe@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/08/2018 01:28 PM, Bruce Harold wrote:
> 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:

According to this:

https://www.enterprisedb.com/docs/en/10.0/Language_Pack_v10/EDB_Postgres_Language_Pack_Guide.1.08.html

This:
>
> PYTHONPATH = C:\edb\languagepack-10\x64\Python-3.4

should be:

set PYTHONHOME=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
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Peck 2018-05-08 22:38:14 Re: Error creating plpython3u extension
Previous Message Bruce Harold 2018-05-08 20:28:29 Error creating plpython3u extension