If you are seeing this, it's because you installed petsc4py against a static PETSc. Rebuild the PETSc with shared libraries enabled and this error will go away.
A -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120408/c291e510/attachment.html>