Re: Trouble installing psycopg2 on Mac OSX 10.6
От | A.M. |
---|---|
Тема | Re: Trouble installing psycopg2 on Mac OSX 10.6 |
Дата | |
Msg-id | 0409A3EA-08EA-4375-B39F-DDC00612ED9B@themactionfaction.com обсуждение исходный текст |
Ответ на | Re: Trouble installing psycopg2 on Mac OSX 10.6 (Bill Carithers <wccarithers@lbl.gov>) |
Список | psycopg |
On May 16, 2011, at 6:42 PM, Bill Carithers wrote: > Hi Daniele, > > OK, progress. Now it seems to find all the stuff in the new Postgres > installation, and the build/install seems to work-- makes an egg in > site-packages and so on. However, when I try to import psycopg2, I get an > error: > Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) > [GCC 4.2.1 (Apple Inc. build 5646)] 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.6/site-packages/psycopg2/__init__.py", line 71, in > <module> > from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID > ImportError: dlopen(/Library/Python/2.6/site-packages/psycopg2/_psycopg.so, > 2): Symbol not found: _PQbackendPID > Referenced from: /Library/Python/2.6/site-packages/psycopg2/_psycopg.so > Expected in: flat namespace > in /Library/Python/2.6/site-packages/psycopg2/_psycopg.so > > I'm not including all the build output (it's very long) unless you think it > would be helpful. Be sure to nuke any old psycopgs egg files you might have hanging around in your python path. Cheers, M
В списке psycopg по дате отправления: