Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 8F94F1337BFF for ; Thu, 28 Apr 2011 11:11:59 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 03260-05 for ; Thu, 28 Apr 2011 14:11:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ey0-f174.google.com (mail-ey0-f174.google.com [209.85.215.174]) by mail.postgresql.org (Postfix) with ESMTP id 563BC1337BFC for ; Thu, 28 Apr 2011 11:11:50 -0300 (ADT) Received: by eyx24 with SMTP id 24so837189eyx.19 for ; Thu, 28 Apr 2011 07:11:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=J2/SAAIewis13mmgqNri6wmsoT/s0V4kMZ1fKxYyEfY=; b=RU2Q+CiIAMUou2EwghK+3I6jNfWLDjpLBGIbKrPCNwKOXZuYCasbleXCWLfwsolfTY DNdye4tujMH+8/5iCRopZfpff8Yyf/QiY+30G/o/hYFdqYt9O7MS1VcgpxvduDjaNsw4 5gfkoIaOo35wLHQf6t8IjmXIlYVXPVM1zD8Tc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=afNRgecKtVdXzj0YTuLDIe4T9RIJZI9UqJTor2eEe/KFBKXI8lMmZ4asQQmP6lHiGG x4ZgAwMw/8NgV1+wHNeWcqYEBkcZw+zEg5SYCsUBmPCHy0o+e6pLpVwKebFfrNFM6zN8 kOZPyJIfgwfy29q+9x0tzP7JwMHMC5mDsKnDk= MIME-Version: 1.0 Received: by 10.213.9.14 with SMTP id j14mr1629702ebj.132.1303999910232; Thu, 28 Apr 2011 07:11:50 -0700 (PDT) Received: by 10.213.28.212 with HTTP; Thu, 28 Apr 2011 07:11:50 -0700 (PDT) In-Reply-To: <20110428133054.GI3783@hermes.hilbert.loc> References: <4DB9624A.1000104@compulab.co.il> <20110428133054.GI3783@hermes.hilbert.loc> Date: Thu, 28 Apr 2011 19:41:50 +0530 Message-ID: Subject: Re: plpython module import errors From: c k To: pgsql-general@postgresql.org Cc: sim@compulab.co.il, mgainty@hotmail.com, Karsten.Hilbert@gmx.net Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.888 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RFC_ABUSE_POST=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201104/986 X-Sequence-Number: 175342 Yes, there are three version (now). I am aware of only 2.7 installed by default in /usr/lib directory and 3.2 which I have installed externally. But the function given above shows version 2.6.4. Now the question is how to change the version postresql is calling for function execution? I have also complied the postgresql source using python option, but nothing happens. Is there is variable or like where we can set the python deirectory and version postresql have to use? Because as per manual, after installing 3.2, I have complied source, but still it does not support to python 3.2! Kindly give the details. Thanks and regards, C P Kulkarni On 4/28/11, Karsten Hilbert wrote: > On Thu, Apr 28, 2011 at 09:15:06AM -0400, Martin Gainty wrote: > >> mv python python5 (for python version 5 binary) >> mv python python6 (for python version 6 binary) > > Do you happen to mean 2.5 and 2.6 ? > > Given that, say, our Electronic Medical Record solution > happily runs on Python 2.5, 2.6, and 2.7 I wonder what the > version problems are that you are referring to ? > > Wether any Python is a wise choice for use as a > procedural language may be another matter. > > Karsten > -- > GPG key ID E4071346 @ gpg-keyserver.de > E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general >