Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fG9E7-0006jy-KM for pgsql-general@arkaria.postgresql.org; Tue, 08 May 2018 20:28:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fG9E3-0001ze-Je for pgsql-general@arkaria.postgresql.org; Tue, 08 May 2018 20:28:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fG9E3-0001zV-8U for pgsql-general@lists.postgresql.org; Tue, 08 May 2018 20:28:43 +0000 Received: from mx0b-00151a02.pphosted.com ([67.231.156.68]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fG9Dv-0005Zr-Ig for pgsql-general@lists.postgresql.org; Tue, 08 May 2018 20:28:41 +0000 Received: from pps.filterd (m0046990.ppops.net [127.0.0.1]) by mx0b-.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w48KPURZ023562 for ; Tue, 8 May 2018 13:28:33 -0700 Received: from esrismtp2.esri.com (esrismtp2.esri.com [198.102.62.103]) by mx0b-.pphosted.com with ESMTP id 2htwenkty9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 08 May 2018 13:28:32 -0700 Received: from mail.esri.com (red-inf-mxmb-p2.esri.com [10.50.4.255]) by red-inf-smtp-p1.esri.com (8.14.4/8.14.4) with ESMTP id w48KSVuE020908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 8 May 2018 13:28:31 -0700 Received: from RED-INF-MXMB-P2.esri.com (10.50.4.255) by RED-INF-MXMB-P2.esri.com (10.50.4.255) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 8 May 2018 13:28:30 -0700 Received: from RED-INF-MXMB-P2.esri.com ([fe80::7dba:fa89:7914:7c91]) by RED-INF-MXMB-P2.esri.com ([fe80::7dba:fa89:7914:7c91%15]) with mapi id 15.00.1347.000; Tue, 8 May 2018 13:28:30 -0700 From: Bruce Harold To: "pgsql-general@lists.postgresql.org" Subject: Error creating plpython3u extension Thread-Topic: Error creating plpython3u extension Thread-Index: AdPnCaDsY9jXzJvoTfiTCbbSngJLog== Date: Tue, 8 May 2018 20:28:29 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.50.254.250] Content-Type: multipart/alternative; boundary="_000_f6cc8f8751a543d998abb662c450cf46REDINFMXMBP2esricom_" MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-08_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=621 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805080192 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_f6cc8f8751a543d998abb662c450cf46REDINFMXMBP2esricom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 =3D 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 a= dding a Python 3.4 environment with conda but no luck there either. Anyone have any experience enabling plpython3u in a conda environment? Thanks Bruce --_000_f6cc8f8751a543d998abb662c450cf46REDINFMXMBP2esricom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi

 

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

 

I edited the sys= tem environment variables:

 

PYTHONPATH =3D C:\e= db\languagepack-10\x64\Python-3.4

Added C:\edb\Langua= gePack-10\x64\Python-3.4\bin to PATH

 

Creating the extens= ion plpython3u errors:

 

ERROR: could not lo= ad library "C:/Program Files/PostgreSQL/10/lib/plpython3.dll": Th= e 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 exp= erience enabling plpython3u in a conda environment?

 

Thanks

 

Bruce

 

 

--_000_f6cc8f8751a543d998abb662c450cf46REDINFMXMBP2esricom_--