Re: Broken python3-psycopg2 for F24 / PG 9.6
От
Oskari Saarenmaa
Тема
Re: Broken python3-psycopg2 for F24 / PG 9.6
Дата
Msg-id
b8f8c566-e336-72f3-107a-ec986f5fb069@ohmu.fi
Ответ на
Re: Broken python3-psycopg2 for F24 / PG 9.6 (Devrim Gündüz)
Список
Дерево обсуждения
Broken python3-psycopg2 for F24 / PG 9.6 Oskari Saarenmaa <os@aiven.io>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Devrim Gündüz <devrim@gunduz.org>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Oskari Saarenmaa <os@ohmu.fi>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Devrim Gündüz <devrim@gunduz.org>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Oskari Saarenmaa <os@ohmu.fi>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Devrim Gündüz <devrim@gunduz.org>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Oskari Saarenmaa <os@ohmu.fi>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Devrim Gündüz <devrim@gunduz.org>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Oskari Saarenmaa <os@ohmu.fi>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Devrim Gündüz <devrim@gunduz.org>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Oskari Saarenmaa <os@ohmu.fi>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Devrim Gündüz <devrim@gunduz.org>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Devrim Gündüz <devrim@gunduz.org>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Oskari Saarenmaa <os@ohmu.fi>
Re: Broken python3-psycopg2 for F24 / PG 9.6 Devrim Gündüz <devrim@gunduz.org>
26.09.2016, 23:38, Devrim Gündüz kirjoitti: > 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 "", line 1, in >> File "/usr/lib64/python3.5/site-packages/psycopg2/__init__.py", line >> 50, in >> 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? Python 2 and Python 3 require their own shared libraries. The Python 2 psycopg2 package includes a _psycopg.so file, but the Python 3 package doesn't, try: python3 -c 'import psycopg2' >> Also, Fedora 24 provides python3-psycopg2 2.6.1 by default, > > You mean upstream Fedora? I don't care about the versions there. :) I'd prefer not to replace packages provided by upstream unless it's absolutely necessary, but I guess that's ok if it's the pg yum repo policy. / Oskari
В списке pgsql-pkg-yum по дате отправления