Closed Poeticphysicist closed 3 years ago
Workaround:
os.environ["DISPLAY"] = ""
import ffn
Thank you this is helpful, @r0f1
closing as there is a workaround. the justification for this is provided # avoid pyplot import failure in headless environment
, PRs welcome for a better/more permanent workaround.
From ffn core scripts, we should import matplotlib first as : """ if 'DISPLAY' not in os.environ: matplotlib.use('agg', warn=False) """ But "warn=False" has been removed... So error occurred.