Re: installation problems on OSX Lion

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: installation problems on OSX Lion
Дата
Msg-id CA+mi_8YT3w1F+ut3bNhqPJozx0HdKWy1QV+R-A=8JsPzyy3brg@mail.gmail.com
обсуждение исходный текст
Ответ на installation problems on OSX Lion  (Sean Moss-Pultz <sean@openmoko.com>)
Ответы Re: installation problems on OSX Lion  (Sean Moss-Pultz <sean@openmoko.com>)
Список psycopg
On Sun, Jul 24, 2011 at 8:02 AM, Sean Moss-Pultz <sean@openmoko.com> wrote:
> Hi
>
> I'm running OSX Lion and trying to install psycopg2 2.4.2 using PIP.
> The installation finishes successfully. But then I get the following
> error when trying to import:
>
> Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import psycopg2
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "/Library/Python/2.7/site-packages/psycopg2/__init__.py", line
> 67, in <module>
>    from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
> ImportError: dlopen(/Library/Python/2.7/site-packages/psycopg2/_psycopg.so,
> 2): Symbol not found: _PQbackendPID
>  Referenced from: /Library/Python/2.7/site-packages/psycopg2/_psycopg.so
>  Expected in: flat namespace
>  in /Library/Python/2.7/site-packages/psycopg2/_psycopg.so
>>>>
>
> Anybody know how to fix this? They are in Google.


Yes, I believe there's plenty of solutions, googling for them.

An index is here:
<http://initd.org/psycopg/articles/2010/11/11/links-about-building-psycopg-mac-os-x/>.
if you find new troubles with Lion feel free to add a comment to the
article, thanks.

-- Daniele

В списке psycopg по дате отправления:

Предыдущее
От: Sean Moss-Pultz
Дата:
Сообщение: installation problems on OSX Lion
Следующее
От: Sean Moss-Pultz
Дата:
Сообщение: Re: installation problems on OSX Lion