pyxeda / ML-Lessons

Collection of Our Python and Scratch Lessons
0 stars 2 forks source link

Python project 1 for bank_churn and heart_disease are not working #221

Closed ShilpaToro closed 4 years ago

ShilpaToro commented 5 years ago

While running heartdisease_project_1.py and bank_churn_project_1.py, it does not show any UI. It goes into the loop and when I do ctrl+c I see foloowing traceback:


  File "bank_churn_project_1.py", line 127, in <module>
    args_list = ui_mode()
  File "bank_churn_project_1.py", line 70, in ui_mode
    event, values = window.Read()
  File "/Users/shilpa.gadre/anaconda/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 5321, in Read
    self._Show()
  File "/Users/shilpa.gadre/anaconda/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 5197, in _Show
    StartupTK(self)
  File "/Users/shilpa.gadre/anaconda/lib/python3.6/site-packages/PySimpleGUI/PySimpleGUI.py", line 8765, in StartupTK
    my_flex_form.TKroot.mainloop()
  File "/Users/shilpa.gadre/anaconda/lib/python3.6/tkinter/__init__.py", line 1277, in mainloop
    self.tk.mainloop(n)```