# Sphinx documentation build error jinja2

**URL:** https://forum.compas-framework.org/t/sphinx-documentation-build-error-jinja2/586
**Category:** Uncategorized
**Created:** [May 6, 2022, 8:43am UTC](https://forum.compas-framework.org/t/sphinx-documentation-build-error-jinja2/586 "2022-05-06T08:43:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![petrasvestartas](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/petrasvestartas/32/305_2.png) [@petrasvestartas](https://forum.compas-framework.org/u/petrasvestartas)
#### Post date: [May 6, 2022, 8:43am UTC](https://forum.compas-framework.org/t/sphinx-documentation-build-error-jinja2/586/1 "2022-05-06T08:43:23Z")

</div>

Hi,

During the Github docs build I have the following error:

```auto
"C:\Miniconda3\envs\wood\lib\site-packages\sphinx\util\rst.py"
from jinja2 import environmentfilter
ImportError: cannot import name 'environmentfilter' from 'jinja2' (C:\Miniconda3\envs\wood\lib\site-

```

Before I did not have this issue. Therefore I am not sure what did I change or how to track the problem.  
Local docs and repository building is fine.  
Do you know how can I resolve this issue?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/compas_framework1/original/1X/4043cbba1801f7042935a9edb7e446aa5c533a0d.png)

This is related to compas\_wood repo

> **[GitHub - ibois-epfl/compas\_wood: Project for Timber Joint Generation....](https://github.com/ibois-epfl/compas_wood/tree/main)**
>
> main

---

<div class="post-metadata">

### Author: ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)
#### Post date: [May 11, 2022, 6:34am UTC](https://forum.compas-framework.org/t/sphinx-documentation-build-error-jinja2/586/2 "2022-05-11T06:34:42Z")

</div>

hi,

you have to make sure the `jinja` version is at least `3.0` in your requirements file.  
see here

> <https://github.com/compas-dev/compas/blob/main/CHANGELOG.md#changed>
