Problem in installing PyGreSQL

D'Arcy J.M. Cain darcy at druid.net
Tue Aug 4 10:14:49 EDT 2009


On Tue, 4 Aug 2009 10:02:23 -0400
Benjamin Kaplan <benjamin.kaplan at case.edu> wrote:
> > By the way, you don't have to be super user to install PyGreSQL.  You
> > just need SU if you want to install it system wide.  PyGreSQL doesn't
> > require any special privileges to run.
> 
> Right, but the packages install system-wide. That's why he could
> compile it himself but not use the package.

Exactly so don't install the package.  Do "python setup.py build" and
put the three files that are built (_pg.so, pg.py and pgdb.py) into any
directory and point PYTHONPATH to it.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list