Re: Issues with pgxnclient package on CentOS 6 64 bit

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема Re: Issues with pgxnclient package on CentOS 6 64 bit
Дата
Msg-id 1358349509.1897.156.camel@lenovo01-laptop03.gunduz.org
обсуждение исходный текст
Ответ на Issues with pgxnclient package on CentOS 6 64 bit  (Gabriele Bartolini <Gabriele.Bartolini@2ndQuadrant.it>)
Список 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

Вложения

В списке pgsql-pkg-yum по дате отправления:

Предыдущее
От: Gabriele Bartolini
Дата:
Сообщение: Issues with pgxnclient package on CentOS 6 64 bit
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Missing libpq error with pgadmin/postgresql-libs