Pyinstaller and import issue with wx.lib.pubsub

后端 未结 4 1449
滥情空心
滥情空心 2021-01-06 18:58

My Python GUI app, works perfectly but when I try to create an executable I tried with pyinstaller (3.3.dev0+483c819) command:

pyinstaller gui_app.py
         


        
4条回答
  •  耶瑟儿~
    2021-01-06 19:15

    I ran into this problem recently and I found another solution that worked for me. I replaced from wx.lib.pubsub import pub with from pubsub import pub. You may have do a pip install pypubsub to get the needed package. You can find more information here: https://github.com/schollii/pypubsub/issues/7

提交回复
热议问题