From: | c k <shreeseva(dot)learning(at)gmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | plpython module import errors |
Date: | 2011-04-28 11:19:08 |
Message-ID: | BANLkTikG=d4n2tvVH0+aBTyHJtwC=fgFqw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
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
tried to search help for this error on net and tried various things
but nothing solved this.
What can I do to solve this error.
I can still work from python interpreter directly.
Thanks in advcance.
C P Kulkarni
From | Date | Subject | |
---|---|---|---|
Next Message | Sim Zacks | 2011-04-28 12:49:14 | Re: plpython module import errors |
Previous Message | Ray Stell | 2011-04-28 02:03:56 | Re: Please, i want exit here |
From | Date | Subject | |
---|---|---|---|
Next Message | Oleg Bartunov | 2011-04-28 11:40:15 | Re: GIN index not used |
Previous Message | Vibhor Kumar | 2011-04-28 10:18:36 | Re: Converting between varchar and float when updating |