I can't run files in jupyter lab using jupyter schedule. Every time the run fails, with the error
module 'jinja2' has no attribute 'Markup'
If I just run the files in jupyter lab as normal, I get no error.
How can I resolve the markup error so I can run the files on a schedule?