Andreas Jung wrote:
    import psycopg2 as psycopg
  File "build/bdist.linux-i686/egg/psycopg2/__init__.py", line 60, in
<module>
  File "build/bdist.linux-i686/egg/psycopg2/_psycopg.py", line 7, in
<module>
  File "build/bdist.linux-i686/egg/psycopg2/_psycopg.py", line 6, in
__bootstrap__
ImportError: libpq.so.4: cannot open shared object file: No such file or
directory


How do I tell buildout to recompile this egg?

By removing the old one first and reinstalling it?

How do I do that? I'd guess at:

rm -rf /home/chris/buildout-eggs/psycopg2-2.0.8-py2.*

...but then the buildout's .installed.cfg won't know about that and so won't try to install anything.

Is there a "proper" way to do this, as the above all seems very hackish and unreliable...

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to