python那些年爬过的坑pyinstaller打包成功,exe运行错误。no module named _adv、_xml、_html![python直接运行没问题;exe运行的时候,命令行的debug信息提示缺少包。

感觉是pyinstaller的bug。。。

解决办法是:
1、在自己的项目里import wx._adv, wx._html

2、如果要一劳永逸的解决这个问题的话,到wx的包的目录中修改richtext.py文件,在该文件中
import _adv, _html

相关文章:

  • 2021-08-26
  • 2022-12-23
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2021-05-28
猜你喜欢
  • 2021-11-14
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案