Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 21DB71337B6C for ; Wed, 8 Dec 2010 23:10:49 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 85029-06 for ; Thu, 9 Dec 2010 03:10:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [173.230.139.50]) by mail.postgresql.org (Postfix) with ESMTP id 09F6A1337B55 for ; Wed, 8 Dec 2010 23:10:41 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id 5EAAB14F9; Wed, 8 Dec 2010 22:10:41 -0500 (EST) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Urfxxl4ZUDAk; Wed, 8 Dec 2010 22:10:40 -0500 (EST) Received: from mail.postnewspapers.com.au (ppp171-128.static.internode.on.net [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id 8283F27; Wed, 8 Dec 2010 22:10:40 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 8037BAF33D; Thu, 9 Dec 2010 11:10:39 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Xs3VbxpTvWd1; Thu, 9 Dec 2010 11:10:34 +0800 (WST) Received: from [10.1.1.3] (124-169-54-72.dyn.iinet.net.au [124.169.54.72]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id BFA35AF296; Thu, 9 Dec 2010 11:10:33 +0800 (WST) Message-ID: <4D00489F.9000507@postnewspapers.com.au> Date: Thu, 09 Dec 2010 11:10:23 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: DavidW CC: pgsql-bugs@postgresql.org Subject: Re: Cannot not create python language References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/61 X-Sequence-Number: 28867 On 8/12/2010 2:03 PM, DavidW wrote: > When run create language plpythonu > > Got ERROR: could not load library "E:/pgsql/lib/plpython.dll": The > specified module could not be found. > > Tried the suggestion to copy lib/plpython.dll to lib/plpython3.dll and > run create language plpython3u, but still > > got ERROR: could not load library "E:/pgsql/lib/plpython3.dll": The > specified module could not be found. It's a misleading error message. Windows says "the specified module cannot be found" when a DLL that is required by a DLL you try to load cannot be found. In this case, you probably don't have Python installed, so plpython cannot load the Python DLL. Check the release notes for your version of postgresql to find out which version of Python you must install. -- Craig Ringer Tech-related writing at http://soapyfrogs.blogspot.com/