kangwei19870101
helloworld_kw
采纳率33.3%
2016-07-19 19:38 阅读 3.9k

python引用问题:from wx.lib.pubsub import Publisher

在模块开始加入
from wx.lib.pubsub import Publisher

报错:
Traceback (most recent call last):
File "G:\learning\python\python_workspace\test_QQ\src\test\test2.py", line 15, in
from wx.lib.pubsub import Publisher
ImportError: cannot import name Publisher

网上搜了好久,信息好少!
不知道怎么办,求大神指导!

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • MULTISENSOR MULTISENSOR 2017-05-07 16:19

    from wx.lib.pubsub import pub as Publisher

    点赞 4 评论 复制链接分享

相关推荐