From: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
---|---|
To: | Oskari Saarenmaa <os(at)ohmu(dot)fi>, pgsql-pkg-yum(at)postgresql(dot)org |
Subject: | Re: Broken python3-psycopg2 for F24 / PG 9.6 |
Date: | 2016-09-26 20:38:32 |
Message-ID: | 1474922312.14931.29.camel@gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-yum |
Hi,
On Mon, 2016-09-26 at 23:20 +0300, Oskari Saarenmaa wrote:
> The python3-psycopg2 package is broken and unusable as it is. It's
> missing the essential _psycopg.so file:
>
> >>> import psycopg2
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib64/python3.5/site-packages/psycopg2/__init__.py", line
> 50, in <module>
> from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
> ImportError: No module named 'psycopg2._psycopg'
That is installed with python-psycopg2 package:
/usr/lib64/python2.7/site-packages/psycopg2/_psycopg.so
When/how do you get this?
> Also, Fedora 24 provides python3-psycopg2 2.6.1 by default,
You mean upstream Fedora? I don't care about the versions there. :)
> do we really need 2.6.2 for pgadmin4?
We always keep up2date with releases, but I meant 2.6.2-2 :
$ rpm -q --changelog python-psycopg2
* Tue Sep 13 2016 Devrim Gündüz <devrim(at)gunduz(dot)org> 2.6.2-2
- Move python-debug (PY2 version) package into non-py3 builds.
We need this at least for pgadmin4.
Cheers,
--
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
From | Date | Subject | |
---|---|---|---|
Next Message | Oskari Saarenmaa | 2016-09-26 20:42:26 | Re: Broken python3-psycopg2 for F24 / PG 9.6 |
Previous Message | Devrim Gündüz | 2016-09-26 20:34:03 | Re: Error accessing to pgdg-centos94-9.4-1.noarch.rpm |