plpython module import errors - Mailing list pgsql-general

From c k
Subject plpython module import errors
Date
Msg-id BANLkTikG=d4n2tvVH0+aBTyHJtwC=fgFqw@mail.gmail.com
Whole thread Raw
Responses Re: plpython module import errors  (Sim Zacks <sim@compulab.co.il>)
List 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

pgsql-general by date:

Previous
From: Vibhor Kumar
Date:
Subject: Re: Converting between varchar and float when updating
Next
From: Oleg Bartunov
Date:
Subject: Re: GIN index not used