cx_Freeze converted GUI-app (tkinter) crashes after pressing plot button

前端 未结 4 771
一向
一向 2020-11-28 14:03

I\'ve been dealing with this for days now and hope to find some help. I developed a GUI-application with imported modules tkinter, numpy, scipy, matplotlib, which runs fine

4条回答
  •  醉酒成梦
    2020-11-28 14:23

    I really wanted to post this as a comment, but I don't have the reputation. This is mostly a followup to J.J. Hakala's answer about how to find the cause.

    If one changes the base to "Console", i.e. using

    base = "Console"

    rather than

    base = "Win32GUI"

    a console will also pop up when the program starts and this error is printed

    Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll.

    Which can help finding the cause of the problem pretty faster.

    I thought this would be worth mentioning, since this trick can also be helpful to diagnose other problems. In the final release, one can revert back to Win32GUI to avoid the extra console. I should give the credits to this other stackoverflow post

提交回复
热议问题