Cheers!
Solved.
What I did is complied source with python option (it failed even giving
correct python 3.2 as per instruction given in the manual page you have
shown) for python 2.7. From build and installed postgresql, copied
plpython2.so and plpython.so to the developement server and restarted it
Now, I found that python version postresql is using is 2.6 and path to it is
"['/home/apy/rrun/build/activepython-svn-trunk/build/py2_6_4-linux-x86-apy26-rrun/CoReAcTiVePyThOnPrEfIxCoReAcTiVePyThOnPrEfIxCoReAcTiVePyThOnPrEfIxCoReAcTiVePyThOnPrEfIxCoReAcTiVePyThOnPrEfIxCoReAcTiVePyThOnPrEfIxCoReAcT
On Thursday, April 28, 2011 7:11:50 am c k wrote:
> 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
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 c
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
gmail.com
> CC: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] plpython module import errors
>
> On 04/28/2011 02:19 PM, c k wrote:
>
> > Hello,
> > I have installed postgresql 9 on fedora 14 having python 2.7. Now
> > created plpythonu language in my
On 04/28/2011 02:19 PM, c k wrote:
Hello,
I have installed postgresql 9 on fedora 14 having python 2.7. Now
created plpythonu language in my database and created a simple
function to calculate sum of two variables.
while importing math libbrary and executing the function i got the error
PL/Pytho
Hello,
I have installed postgresql 9 on fedora 14 having python 2.7. Now
created plpythonu language in my database and created a simple
function to calculate sum of two variables.
while importing math libbrary and executing the function i got the error
PL/Python: ImportError: No module named cmath