python - psycopg installation problem -
I have recently installed the Django and psycop2. Although the dragon is refusing to use it below is the error. Can anyone help?
& gt; & Gt; & Gt; Import psycopg2 traceback (most recent call final): File "& lt; stdin>", line 1, & lt; Module & gt; File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psycopg2/__init__.py", line 67, & lt; Module & gt; The psycopg2._psycopg import binary number, string, DATETIME, ROWID ImportError: dlopen (/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psycopg2/_psycopg.so, 2): not found symbol: refers _PQbackendPID: flat namespace /Library/Frameworks/Python.framework: in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psycopg2/_psycopg.so after the required /Versions/2.7/lib/python2.7/site-packages/psycopg2/_psycopg.so
Macports Python / Django is terrible for development, everything is going out of data
I have the following tasks for my team postgres.
- download and install but
- download psycopg2
- Read the readme before installing the source from !!! Edit /Library/PostgreSQL/9.0/bin/pg_config setup.cfg to install pg_config
Then
python setup.py install I want to stay away from the Mac OS X dragon as much as possible, with the vir.
Comments
Post a Comment