明明安装了 zope.interface,还是出现标题错误,错误语句是

  1. from zope.interface import ooxx  

    根据 http://stackoverflow.com/questions/11010412/importerror-no-module-named-zope-interface 帖子的提示,原因是zope目录下缺一个__init__文件,这个文件干什么的,具体看Python模块资料吧,解决办法就是在zope目录下面新建一个__init__空文件即可解决问题。

相关文章:

  • 2022-12-23
  • 2021-08-30
  • 2021-08-20
  • 2021-11-13
  • 2021-08-22
  • 2021-08-21
  • 2022-12-23
  • 2021-06-23
猜你喜欢
  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2021-06-11
  • 2022-12-23
相关资源
相似解决方案