abess-team / skscope

skscope: Sparse-Constrained OPtimization via itErative-solvers
https://skscope.readthedocs.io
MIT License
318 stars 13 forks source link

[error occurred in build docs] ImportError: cannot import name 'environmentfilter' from 'jinja2' #2

Closed bbayukari closed 1 year ago

bbayukari commented 1 year ago

At .../docs, python -m pip install -r requirements.txt make html

But there is an error: ImportError: cannot import name 'environmentfilter' from 'jinja2'

bbayukari commented 1 year ago

Maybe the version of 'jinja2' is too high, try to use version 3.03 https://github.com/readthedocs/readthedocs.org/issues/9038#issue-1180421292