Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matplotlib issue? #121

Open
SwePalm opened this issue Dec 16, 2020 · 1 comment
Open

matplotlib issue? #121

SwePalm opened this issue Dec 16, 2020 · 1 comment

Comments

@SwePalm
Copy link

SwePalm commented Dec 16, 2020

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants