Re: plpython and bytea - Mailing list pgsql-hackers

From James William Pye
Subject Re: plpython and bytea
Date
Msg-id 1132589313.19143.4.camel@localhost
Whole thread Raw
In response to Re: plpython and bytea  (Hannu Krosing <hannu@skype.net>)
Responses Re: plpython and bytea
List pgsql-hackers
On Mon, 2005-11-21 at 15:18 +0200, Hannu Krosing wrote:
> The project seems quite interesting, will surely take a deeper look
> 
> It looks quite alpha, seems to mess to deeply with backend, and the cvs
> checkout of module be does not build, so I will probably not be able to
> use it in production for quite a while :(
> 
> [hannu@localhost be]$ python setup.py build
> running build
> running config
> Traceback (most recent call last):
>   File "setup.py", line 256, in ?
>     setup(defaults)
>   File "setup.py", line 249, in setup
>     d = distutils.core.setup(**kw)
>   File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
>     dist.run_commands()
>   File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
>     cmd_obj.run()
>   File "/home/hannu/work/postgresPy/be/lib/ldistutils.py", line 193, in
> run
>     self.run_command('config')
>   File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
>     self.distribution.run_command(command)
>   File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
>     cmd_obj.run()
>   File "/home/hannu/work/postgresPy/be/lib/ldistutils.py", line 166, in
> run
>     self.distribution.config = cfg = self.load()
>   File "/home/hannu/work/postgresPy/be/lib/ldistutils.py", line 129, in
> load
>     cfgsrc(self)
>   File "setup.py", line 19, in configure
>     import postgresql.utility.config
> ImportError: No module named postgresql.utility.config

The 'layout' package needs to be installed first.

See this quick start section:
http://python.projects.postgresql.org/quick.html#Fetch+and+Install+the
+Backend
('be' depends on 'lo' and 'ex')

-- 
Regards, James William Pye


pgsql-hackers by date:

Previous
From: Grzegorz Jaskiewicz
Date:
Subject: why is gist index taking so much space on the disc
Next
From: Grzegorz Jaskiewicz
Date:
Subject: Re: why is gist index taking so much space on the disc