From: | Oskari Saarenmaa <os(at)ohmu(dot)fi> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org>, pgsql-pkg-yum(at)postgresql(dot)org |
Subject: | Re: Broken python3-psycopg2 for F24 / PG 9.6 |
Date: | 2016-09-26 20:20:04 |
Message-ID: | 403242bb-2cd3-78be-bf4a-2df63c221cac@ohmu.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-yum |
26.09.2016, 13:27, Devrim Gündüz kirjoitti:
> On Wed, 2016-08-24 at 22:55 +0300, Oskari Saarenmaa wrote:
>>
>> http://yum.postgresql.org/9.6/fedora/fedora-24-x86_64/ contains a
>> python3-psycopg2-2.6.2-1.f24.x86_64.rpm package which is lacking the
>> _psycopg.so file, making the package unusable.
>>
>> None of the other Fedora / PG version combinations I checked appear to
>> have psycopg2 packages so it seems to me that it shouldn't be published
>> for F24 / PG 9.6 either.
>
> Starting Fedora 24, Python3 support is added to most of the Python packages,
> that is why you cannot see this subpackage in other distros. This package is
> under a conditional.
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'
Also, Fedora 24 provides python3-psycopg2 2.6.1 by default, do we really
need 2.6.2 for pgadmin4?
Thanks,
Oskari
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim Gündüz | 2016-09-26 20:31:47 | Re: Error accessing to pgdg-centos94-9.4-1.noarch.rpm |
Previous Message | Juan Gallego Molero | 2016-09-26 20:08:26 | Re: Error accessing to pgdg-centos94-9.4-1.noarch.rpm |