From: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
---|---|
To: | Gabriele Bartolini <Gabriele(dot)Bartolini(at)2ndQuadrant(dot)it> |
Cc: | pgsql-pkg-yum(at)postgresql(dot)org |
Subject: | Re: Issues with pgxnclient package on CentOS 6 64 bit |
Date: | 2013-01-16 15:18:29 |
Message-ID: | 1358349509.1897.156.camel@lenovo01-laptop03.gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-yum |
Hi,
On Wed, 2013-01-16 at 11:15 +0100, Gabriele Bartolini wrote:
> I installed the pgxnclient on CentOS 6 (64 bit). I then ran:
>
> # pgxn install oracle_fdw
> Traceback (most recent call last):
> File "/usr/bin/pgxn", line 5, in <module>
> from pkg_resources import load_entry_point
> ImportError: No module named pkg_resources
>
> I then installed the python-setuptools, and retried getting this:
>
> # pgxn install oracle_fdw
> Traceback (most recent call last):
> File "/usr/bin/pgxn", line 5, in <module>
> from pkg_resources import load_entry_point
> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655,
> in <module>
> working_set.require(__requires__)
> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648,
> in require
> needed = self.resolve(parse_requirements(requirements))
> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546,
> in resolve
> raise DistributionNotFound(req)
> pkg_resources.DistributionNotFound: simplejson>=2.1
>
> Unfortunately, the shipped python-simplejson package is version
> 2.0.9.
>
> Any suggestion?
The version dependency was added with the fix for
https://github.com/dvarrazzo/pgxnclient/issues/8
Daniël van Eeden also created a ticket about this, and Daniele responded
it:
https://github.com/dvarrazzo/pgxnclient/issues/20
I am thinking of creating a "pgxnclient-python-setuptools" package, and
let pgxnclient depend on it.
Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim GÜNDÜZ | 2013-02-06 21:50:21 | Re: Missing libpq error with pgadmin/postgresql-libs |
Previous Message | Gabriele Bartolini | 2013-01-16 10:15:04 | Issues with pgxnclient package on CentOS 6 64 bit |