mljar-supervised
mljar-supervised copied to clipboard
RuntimeError: main thread is not in main loop
Hello everyone, I am a beginner of mljar.
After installing the mljar-supervised package yesterday, I used the example on the official website to test...
but the following exception code occurred.
Could you tell me how to solve this problem? Thanks for your help! System: Windows 10 Python version: 3.8.13
The complete execution result is as follows:
@Tonywhitemin thanks for reporting. That's might be related to this issue https://stackoverflow.com/questions/52839758/matplotlib-and-runtimeerror-main-thread-is-not-in-main-loop
Please try to add in your code:
import matplotlib
matplotlib.use('Agg')
Hi pplonski, It works! Thanks for your help!
Worked for me. @pplonski you rule.