AxeldeRomblay / MLBox

MLBox is a powerful Automated Machine Learning python library.
https://mlbox.readthedocs.io/en/latest/
Other
1.49k stars 274 forks source link

matplotlib issue? #121

Open SwePalm opened 3 years ago

SwePalm commented 3 years ago

Got error trying to import mlbox ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running

After a google search i found more people having the same issues, i tried the simple solution suggested import matplotlib matplotlib.use('TKAgg')

did not work

I did not try the more agressive solution suggested '"I just deleted matplotlib.use('TKAgg') completely,"

AxeldeRomblay commented 3 years ago

Hello @SwePalm, Thanks for the feedback. Can you please tell me what is your config (OS, python version, ... ) ? Sounds weird since we have a try catch here : https://github.com/AxeldeRomblay/MLBox/blob/master/mlbox/prediction/predictor.py#L15