Getting a error while training model. I am attaching the screenshot of it

ImportError: cannot import name ‘_api’ from ‘matplotlib’ (unknown location)