# trying to build ansible documentation locally from rst source.

**URL:** <https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12457>\
**Category:** Ansible Project\
**Created:** [March 5, 2013, 6:40pm UTC](https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12457 "2013-03-05T18:40:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erodri07](https://avatars.discourse-cdn.com/v4/letter/e/90db22/32.png) [@erodri07](https://forum.ansible.com/u/erodri07)\
**Post date:** [March 5, 2013, 6:40pm UTC](https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12457/1 "2013-03-05T18:40:35Z")

</div>

Thanks michael. I’m pretty new on python environment.

When i tried it , there is missing ansible.utils module.

Could you please help me to go on ?.

I’d got :

era@home:~/ansible\_src$ make webdocs  
(cd docsite; make docs)  
make[1]: Entering directory `/home/era/ansible\_src/docsite’  
rm -f .buildinfo  
rm -f _.inv  
rm -rf .doctrees  
Cleaning up byte compiled python stuff  
find . -regex "..py[co]$" -delete  
Cleaning up editor backup files  
find . -type f ( -name "_~" -or -name “#_" ) -delete  
find . -type f ( -name "_.swp” ) -delete  
…/hacking/module\_formatter.py -t rst --template-dir=…/hacking/templates --module-dir=…/library -o rst/modules/ --includes-file=rst/modules/\_list.rst  
Traceback (most recent call last):  
File “…/hacking/module\_formatter.py”, line 32, in   
import ansible.utils  
ImportError: No module named ansible.utils

thanks in advanced.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [March 5, 2013, 6:41pm UTC](https://forum.ansible.com/t/trying-to-build-ansible-documentation-locally-from-rst-source/12457/2 "2013-03-05T18:41:35Z")

</div>

source ./hacking/env-setup before buildling and you will be fine.
