andreiapostoae / dota2-predictor

Tool that predicts the outcome of a Dota 2 game using Machine Learning
MIT License
366 stars 82 forks source link

tkinter crashing on startup NSInvalidArgumentException #8

Closed f1yingbanana closed 7 years ago

f1yingbanana commented 7 years ago

Running the code as is without Anaconda crashes python on startup with a NSInvalidArgumentException.

Adding these two lines from this answer to the top of the basic_gui.py file solves this problem.

Python crashes after Tkinter and matplotlib.pyplot are imported

andreiapostoae commented 7 years ago

I updated the file where matplotlib is imported. However, I find the issue odd as theoretically tkinter and matplotlib should not interact. Could you please check if it works now as I do not have a macOS device?

andreiapostoae commented 7 years ago

Tkinter GUI will be removed and a web app will take its place. This way people will not have compatibility problems afterwards.