error psycopg in Django/MacOSX
Daniel França <[email protected]> Tue, 13 Jul 2010 00:15:04 -0300
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0378854341924346913==
Content-Type: multipart/alternative; boundary=00163645857eb886de048b3c47d3
--00163645857eb886de048b3c47d3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
I recently migrated from Linux to Mac OS X, and I'm trying to get my django
project working.
I'm getting problems trying to install psycopg2
I installed that, both when I try to run my django server I get the
following error:
*
*
*gresql_psycopg2/base.py", line 24, in <module>*
* raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)*
*django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module=
:
dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site=
-packages/psycopg2/_psycopg.so,
2): Symbol not found: _PQbackendPID*
* Referenced from:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packag=
es/psycopg2/_psycopg.so
*
* Expected in: flat namespace*
* in
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packag=
es/psycopg2/_psycopg.so
*
I don't know why it's happening, mayble incorrect version?
I'm using Python 2.7 and Postgresql8.4 and Psycopg 2.2.1
Thanks
Best Regards,
Daniel Fran=E7a
--00163645857eb886de048b3c47d3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,<div>I recently migrated from Linux to Mac OS X, and I'm trying to g=
et my django project working.</div><div>I'm getting problems trying to =
install psycopg2</div><div>I installed that, both when I try to run my djan=
go server I get the following error:</div>
<div><div><b><br></b></div><div><b>gresql_psycopg2/base.py", line 24, =
in <module></b></div><div><b>=A0=A0 =A0raise ImproperlyConfigured(&qu=
ot;Error loading psycopg2 module: %s" % e)</b></div><div><b>django.cor=
e.exceptions.ImproperlyConfigured: Error loading psycopg2 module: dlopen(/L=
ibrary/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages=
/psycopg2/_psycopg.so, 2): Symbol not found: _PQbackendPID</b></div>
<div><b>=A0=A0Referenced from: /Library/Frameworks/Python.framework/Version=
s/2.7/lib/python2.7/site-packages/psycopg2/_psycopg.so</b></div><div><b>=A0=
=A0Expected in: flat namespace</b></div><div><b>=A0in /Library/Frameworks/P=
ython.framework/Versions/2.7/lib/python2.7/site-packages/psycopg2/_psycopg.=
so</b></div>
</div><div><br></div><div><br></div><div>I don't know why it's happ=
ening, mayble incorrect version?</div><div>I'm using Python 2.7 and Pos=
tgresql8.4 and Psycopg 2.2.1</div><div><br></div><div>Thanks</div><div>
<br></div><div>Best Regards,</div><div>Daniel Fran=E7a</div>
--00163645857eb886de048b3c47d3--
--===============0378854341924346913==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
--===============0378854341924346913==--