qtconsole icon indicating copy to clipboard operation
qtconsole copied to clipboard

qtconsole and cx_freeze

Open neurochen opened this issue 3 years ago • 0 comments

Describe the bug Hi, thanks for the wonderful qtconsole! We are embedding a python console in our pyqt app, using qtconsole. However, when we ran the exe from cx_freeze, it constantly reopened more and more qtconsole window. And the old console always displayed "Kernel died, restarting." Could you please take a look at it?

To Reproduce Install cx_freeze first and then cx_freeze the script below.

if __name__ == '__main__':
    import multiprocessing
    multiprocessing.freeze_support()
    from qtconsole.qtconsoleapp import main
    main()

Screenshots image

Desktop (please complete the following information):

  • windows 10 x64
  • python 3.8.5
  • cx_Freeze 6.6
  • qtconsole 5.0.3:

neurochen avatar Apr 26 '21 02:04 neurochen