Hi! I"m on osol0906, with python2.6 on a virtualenv. I want to install psycopg2 (postgres driver), but i'm not able to.
I"ve tried both the methods, easy_install and python setup.py build both of them throws error. (venv)arun at opensolaris:/tmp/psycopg2-2.0.13$ python Python 2.6.1 (r261:67515, Mar 10 2009, 14:11:34) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> ^D (venv)arun at opensolaris:/tmp$ cd psycopg2-2.0.13/ (venv)arun at opensolaris:/tmp/psycopg2-2.0.13$ ls AUTHORS debian examples lib MANIFEST PKG-INFO psycopg2da scripts setup.py ZPsycopgDA ChangeLog doc INSTALL LICENSE MANIFEST.in psycopg README setup.cfg tests (venv)arun at opensolaris:/tmp/psycopg2-2.0.13$ python setup.py build running build running build_py creating build creating build/lib.solaris-2.11-i86pc-2.6 creating build/lib.solaris-2.11-i86pc-2.6/psycopg2 copying lib/tz.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2 copying lib/extensions.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2 copying lib/pool.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2 copying lib/__init__.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2 copying lib/psycopg1.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2 copying lib/extras.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2 copying lib/errorcodes.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2 running build_ext error: No such file or directory (venv)arun at opensolaris:/tmp/psycopg2-2.0.13$ easy_install psycopg2 Searching for psycopg2 Reading http://pypi.python.org/simple/psycopg2/ Reading http://initd.org/projects/psycopg2 Reading http://initd.org/pub/software/psycopg/ Best match: psycopg2 2.0.13 Downloading http://initd.org/pub/software/psycopg/psycopg2-2.0.13.tar.gz Processing psycopg2-2.0.13.tar.gz Running psycopg2-2.0.13/setup.py -q bdist_egg --dist-dir /tmp/easy_install-KfvzTB/psycopg2-2.0.13/egg-dist-tmp-cKek3m error: Setup script exited with error: No such file or directory also attaching the reply from federico, the developer and maintainer of the postgres driver. From: Federico Di Gregorio <fog at initd.org> To: Arun Tomar <tomar.arun at gmail.com> Subject: Re: psycopg2 not installing on opensolaris Date: Tue, 18 Aug 2009 13:42:00 +0200 (17:12 IST) Il giorno dom, 16/08/2009 alle 18.26 +0530, Arun Tomar ha scritto: > i would like to report an issue about installation of psycopg2 driver > on opensolaris. > I'm using opensolaris 0906, build 111, using python 2.6. when i try to > install the postgres driver it gives the following error. is there any > way i can resolve this issue. This can be two different problem: a build problem on Solaris or an easy_install incompatibility. Plase build the standard way (python setup.py build) and report any error before going on with easy_install. federico kindly suggest a solution. regds, Arun Tomar.
