Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'environmentfilter' from 'jinja2' #184

Open
Nekofoxmiu opened this issue Mar 18, 2023 · 0 comments
Open

Comments

@Nekofoxmiu
Copy link

make[1]: Entering directory '/content/ffmpeg-build/packages/tiff-4.5.0/doc'
/usr/local/bin/sphinx-build
-D "release=4.5.0"
-D "version=4.5"
-d "./cache"
-b html
"." "./html"
/usr/local/bin/sphinx-build
-D "release=4.5.0"
-D "version=4.5"
-d "./cache"
-b man
"." "./man"
Traceback (most recent call last):
File "/usr/local/bin/sphinx-build", line 5, in
from sphinx.cmd.build import main
File "/usr/local/lib/python3.9/dist-packages/sphinx/cmd/build.py", line 25, in
from sphinx.application import Sphinx
File "/usr/local/lib/python3.9/dist-packages/sphinx/application.py", line 43, in
from sphinx.registry import SphinxComponentRegistry
File "/usr/local/lib/python3.9/dist-packages/sphinx/registry.py", line 24, in
from sphinx.builders import Builder
File "/usr/local/lib/python3.9/dist-packages/sphinx/builders/init.py", line 26, in
from sphinx.util import import_object, logging, progress_message, rst, status_iterator
File "/usr/local/lib/python3.9/dist-packages/sphinx/util/rst.py", line 21, in
from jinja2 import Environment, environmentfilter
ImportError: cannot import name 'environmentfilter' from 'jinja2' (/usr/local/lib/python3.9/dist-packages/jinja2/init.py)
Traceback (most recent call last):
File "/usr/local/bin/sphinx-build", line 5, in
from sphinx.cmd.build import main
File "/usr/local/lib/python3.9/dist-packages/sphinx/cmd/build.py", line 25, in
from sphinx.application import Sphinx
File "/usr/local/lib/python3.9/dist-packages/sphinx/application.py", line 43, in
from sphinx.registry import SphinxComponentRegistry
File "/usr/local/lib/python3.9/dist-packages/sphinx/registry.py", line 24, in
from sphinx.builders import Builder
File "/usr/local/lib/python3.9/dist-packages/sphinx/builders/init.py", line 26, in
from sphinx.util import import_object, logging, progress_message, rst, status_iterator
File "/usr/local/lib/python3.9/dist-packages/sphinx/util/rst.py", line 21, in
from jinja2 import Environment, environmentfilter
ImportError: cannot import name 'environmentfilter' from 'jinja2' (/usr/local/lib/python3.9/dist-packages/jinja2/init.py)
make[1]: *** [Makefile:810: doc-html] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:818: doc-man] Error 1
make[1]: Leaving directory '/content/ffmpeg-build/packages/tiff-4.5.0/doc'
make: *** [Makefile:570: all-recursive] Error 1

Failed to Execute make -j 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant