On Wed, Mar 11, 2015 at 2:00 PM, Ed Davison <EDavison@getmns.com> wrote:
> Starting program: /usr/bin/python2.7 -c 'import psycopg2; print psycopg2'
...
> "/opt/python2.7.8/lib/python2.7/site-packages/psycopg2/_psycopg.so",
I think you have some python path confusion and you are mixing up two python environments compiled with different
parameters.Try running /opt/python2.7.8/bin/python instead.
--
Results:
> /opt/python2.7.8/bin/python manage.py
Segmentation fault
>
Results from "/opt/python2.7.8/bin/python -v manage.py " :
...
import psycopg2 # directory /opt/python2.7.8/lib/python2.7/site-packages/psycopg2
# /opt/python2.7.8/lib/python2.7/site-packages/psycopg2/__init__.pyc matches
/opt/python2.7.8/lib/python2.7/site-packages/psycopg2/__init__.py
import psycopg2 # precompiled from /opt/python2.7.8/lib/python2.7/site-packages/psycopg2/__init__.pyc
dlopen("/opt/python2.7.8/lib/python2.7/site-packages/psycopg2/_psycopg.so", 2);
Segmentation fault