ImportError: No module named interface

OS=Ubuntu 9.10
Python version=2.6
After install a zope module using pip, for example z3c.password your zope installation gets broken.

This is because pip have installed the module in /usr/local/lib/python2.6/dist-packages/zope and the original module zope.interface is in /usr/share/pyshared/zope/interface/ and has minor relevance when importing.

Quick fix:
cd /usr/local/lib/python2.6/dist-packages/zope
sudo ln -s /usr/share/pyshared/zope/interface/

Tags: ,

Leave a Reply