plpython module import errors

Поиск
Список
Период
Сортировка
От c k
Тема plpython module import errors
Дата
Msg-id BANLkTikG=d4n2tvVH0+aBTyHJtwC=fgFqw@mail.gmail.com
обсуждение исходный текст
Ответы Re: plpython module import errors  (Sim Zacks <sim@compulab.co.il>)
Список 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 по дате отправления:

Предыдущее
От: Vibhor Kumar
Дата:
Сообщение: Re: Converting between varchar and float when updating
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: GIN index not used