After installing the zope module using pip, for example: z3c.password, your zope installation breaks.
This is because pip installs the module in /usr/local/lib/python2.7/dist-packages/zope and the original module zope.interface is in /usr/share/pyshared/zope/interface/ and has minor relevance when importing.
为了解决这个问题,我会尝试如下符号链接:
cd /usr/local/lib/python2.7/dist-packages/zope
sudo ln -s /usr/share/pyshared/zope/interface/
如果你用pip安装,很有可能会破坏安装。在
为了解决这个问题,我会尝试如下符号链接:
相关问题 更多 >
编程相关推荐