Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjAsL-0004p4-LE for pgsql-general@arkaria.postgresql.org; Thu, 11 Jun 2020 00:15:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jjAsJ-0001k5-6n for pgsql-general@arkaria.postgresql.org; Thu, 11 Jun 2020 00:15:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjAsH-0001jw-5g for pgsql-general@lists.postgresql.org; Thu, 11 Jun 2020 00:15:18 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjAsD-00040Z-Sd for pgsql-general@lists.postgresql.org; Thu, 11 Jun 2020 00:15:15 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 464873AD; Wed, 10 Jun 2020 20:15:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 10 Jun 2020 20:15:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=W sVMoX6WrtpWk/mOn7/4wzrRxitX5g12rdEcLnOxgjo=; b=ABHF6hfameDlfWIOM A/phLTCuZa+R4A/76UlxGbSCOVGyOHdEG8FsQc0nNsKUPh1JoY6Yi0QKBdUoG5+R u5FslRv83yW6sLbjCchEFvQ7ZaDpmQENzpqFMGuzh6736m653W9RsdMwTl3xF59+ VN/t/UVBBRi/d29tmg0XAEay4Dc2O48Edyew2AksxQZKbjx5CVpiZcI+jqFTsvzk jq6nuGZVZORfyCQaqmkqRrJHJuYKD1KxjUYDmGcihVqzh2FiSMsbOEq9efxHBX/5 bCj6/2g4VcG1+zTC2Ad5KmqXJIh8yqJWDzzV0I3Q2vYXUle/z0GxOmC3WuSUYZZh 83x0Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=WsVMoX6WrtpWk/mOn7/4wzrRxitX5g12rdEcLnOxg jo=; b=MjkaayF/NY3SsxIAn1219R+nAJxi/+fFtRM4N99AqcqNI+e/pJ4CX7odU DN15WYj++AiZe6cQ51dhP+LQDDThMQ47KXg9iuVkwy7PIJiohOyTnAj3z7vfxeIt WJW94ANVeqPgrZiwiYxRbnBAtVR9G4J9fhIcavCwyozUmzATj5HcTZ1PRV0orXvN SOJRjPC2OuJNS853X9+M04h055D86mtQf9qBp0d7r6UitFE24GC8cTwOLYvJQqri z3pStJHEVaqBAYfBUANi39OiWFJKafA2Y6N6Cwq8X7rDQIv+eDRy2Q8zDiShL70r vfiXbcG/ls8GB/9ShBxGvDmCBkd/g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehjedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevveefveefueegffekkefhgeeiueffgfetueejvdfg hfeujeejhfekjeelgedtgeenucfkphepjeehrddujedvrdehrddvfedunecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgr vhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 0ED09328005E; Wed, 10 Jun 2020 20:15:09 -0400 (EDT) Subject: Re: Help with plpython3u To: PEDRO PABLO SEVERIN HONORATO Cc: pgsql-general@lists.postgresql.org References: <13c85ed6-43ae-76e3-058d-97ccc435e96f@aklaver.com> <36efd504-84ac-6190-0d63-a95ffe855c56@aklaver.com> <4e38a0f3-abbe-6da1-956e-d28eaf8fbfad@aklaver.com> From: Adrian Klaver Message-ID: <0bd74bc1-257e-8c28-2b08-fd390daa411d@aklaver.com> Date: Wed, 10 Jun 2020 17:15:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/10/20 4:35 PM, PEDRO PABLO SEVERIN HONORATO wrote: > something like EDB_PYTHONHOME > that only the Postgres install would use. > > That's exactly what I was looking for. Isn't a way to configure some > postgres file, so that postgres would use that file and look for python > in that directory before seeing the path? That is not something that is native to Postgres. The issue is that EDB bundles a Python version with the Language Pack and points the plpython(3)u extensions at it. I understand that, as they can't count on Python being installed as in Unix(en) OS'es or invoke a package manager to satisfy the dependency. The problem is when you do install some other form of Python on your Windows machine. Then you get the conflicts. > > I guess you have to ask questions on Stackoverflow > > Stackoverflow was the first place where I asked this, but with less > knowledge than now. Maybe now I can ask a more concrete question about > paths. > > Anyways, thank you very much for your time, Adrian. I really appreciate > it. If I manage to solve this I'll let you know, so if anyone else has > the same problem. > -- Adrian Klaver adrian.klaver@aklaver.com