fastprogress icon indicating copy to clipboard operation
fastprogress copied to clipboard

Misattribution of import errors

Open bradezard131 opened this issue 3 years ago • 1 comments

A failure to import IPython and matplotlib is falsely attributed to a a failure to import ipywidgets. Matplotlib is not a requirement for fastprogress and so this is an easy error to cause but requires source-code delving to debug. https://github.com/fastai/fastprogress/blob/e7d108f5906ed9ab8d90502ec8b6d0253bd0e3db/fastprogress/fastprogress.py#L97-L103

bradezard131 avatar Apr 12 '22 05:04 bradezard131

Just ran into this as well. In my case I was missing matplotlib. A simple fix would be to reword the error message. Nicer would be to enable as much functionality as possible without matplotlib if it doesn't exist. Not sure how much work that would need though.

seeM avatar May 19 '22 11:05 seeM