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 1fGBFW-0006m6-Tg for pgsql-general@arkaria.postgresql.org; Tue, 08 May 2018 22:38:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fGBFR-0003mA-Tj for pgsql-general@arkaria.postgresql.org; Tue, 08 May 2018 22:38:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fGBFQ-0003m0-TX for pgsql-general@lists.postgresql.org; Tue, 08 May 2018 22:38:17 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fGBFL-0007PF-VP for pgsql-general@lists.postgresql.org; Tue, 08 May 2018 22:38:16 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5C0AC22E3E; Tue, 8 May 2018 18:38:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 08 May 2018 18:38:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=+isX6UDouKnEVU4rQ+0hW+DGxGdz4 C9xoCuhK6dSyTc=; b=eCXRr+BeZF7N0Ni8geGORWX6d5MIcNUv/g6eCdYDYOsqF kWUe4bdhUy55sSJEfMHgbPh8jY5L1naiRey1vWffwTcm3AzYAxCaKdhXTF1P2WBX oRvQ4tqxT4Fqz6NiUpITNe43xsTouNCIvrsBHJyAVMWEZPRm8JqYHSov/rTg4Azh a2AWsNa5GKc/lVEfWECXjAKBplVrOvDqVM7gGP+kFRzj8NokJmm94TE4iSQY2jOA T7u7aHaQYdUULz30oQERJJrM2itXTqxM+y7kB+W2B2lNERlGsMIFP4rK7SS48s15 qfCwrTHaV2PxOpGERVqsZIa1SAh11kmc+d5lmXLAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=+isX6U DouKnEVU4rQ+0hW+DGxGdz4C9xoCuhK6dSyTc=; b=gahYv2AuTHHRTM7fXMaYVo YZ3L53fAVwGsBPexDvKaQ6k2AjRHaPLfymnB/w9D11fK1+3NONJiQRNs1MiJ4AvK 0IGDXmLZ1yYfHw9sVgGZR4g1+88+fvBqMaQKEPjmXVCp6bgyKNLUOT/GZO7+90vq z7vz1bOJMD27nadcytVGELeccIvgK0law1nhO8a4ktf6sXq/VIQlpIqn9WvtmJxA TZznCtx9hGs0xgLRm4fkrXcRl0YMihTEnUdh1v6E6PPQcpNKM3y6VhL/ReZi6XEP petyBLkq3RP6z3eVFMcc8VY/m/NZY7i2WaJ9M5sudIpV29pTzR0DpFeSDDA93vNg == X-ME-Sender: Received: from [192.168.1.2] (unknown [71.212.135.74]) by mail.messagingengine.com (Postfix) with ESMTPA id BDD91E509C; Tue, 8 May 2018 18:38:08 -0400 (EDT) Subject: Re: Error creating plpython3u extension To: Bruce Harold , "pgsql-general@lists.postgresql.org" References: From: Adrian Klaver Message-ID: Date: Tue, 8 May 2018 15:38:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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.klaver@aklaver.com