Обсуждение: pl/python exceptions.ImportError: No module named _sre

Поиск
Список
Период
Сортировка

pl/python exceptions.ImportError: No module named _sre

От
Glenn R Williams
Дата:
I am also getting this message when I try to execute a plpython function
that imports re:

exceptions.ImportError: No module named _sre

I notice that others have experienced this problem. Anyone have any
ideas? Does anyone have this working?

I am using Redhat 9 and  7.3.2.3

TIA,

Glenn

--
Glenn R Williams
Ghoti Software
----------------------------------------------------------------------
Mathematical theories are the part of science you could continue to do
if you woke up tomorrow and discovered the universe was gone.

Re: pl/python exceptions.ImportError: No module named _sre

От
email lists
Дата:
I found a workaround using the pre module (instead of re / sre).

Fortunately I am not using anything specific to re / sre.

Darren



Re: pl/python exceptions.ImportError: No module named

От
Glenn R Williams
Дата:
Thanks for the tip. I tried the pre module, and it does work on the
example. Unfortunately it does not include Unicode support, so I can't
use it for my project.

Hopefully it is just a matter of changing the way pl/python searches for
trusted components.

Anybody else run into the problem?

Glenn

On Tue, 2003-04-22 at 05:34, email lists wrote:
> I found a workaround using the pre module (instead of re / sre).
>
> Fortunately I am not using anything specific to re / sre.
>
> Darren
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
Glenn R Williams
Ghoti Software
----------------------------------------------------------------------
Mathematical theories are the part of science you could continue to do
if you woke up tomorrow and discovered the universe was gone.