I had a similar error - I tried to create a new virtual env without package sites. He creates everything perfectly. But my ubuntu already installed zope.interface for its own use, so he didnβt want to install it in addition to my vein.
This collision causes my venv to throw an error in a simple test application in mod_wsgi:
from zope.interface.registry import Components ImportError: No module named registry
So, I'm trying to remove zope.interface from base python. But the unistall command did not delete it (I found on google that this is a known issue).
How did I find a solution: I just switched to my venv and gave the command to "update" zope.interface from there:
(env) user@ubuntu :~/env$ sudo pip install --upgrade zope.interface
After that, my problem is with zope.interface dissmiss.
Your problem is similar, so my solution may help. In any case, this answer is very useful for ubuntu desktop users.
source share