# how can change or add multiple path to "ansible python module location" variable?

**URL:** <https://forum.ansible.com/t/how-can-change-or-add-multiple-path-to-ansible-python-module-location-variable/29142>\
**Category:** Ansible Project\
**Created:** [November 28, 2018, 1:52pm UTC](https://forum.ansible.com/t/how-can-change-or-add-multiple-path-to-ansible-python-module-location-variable/29142 "2018-11-28T13:52:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Penazzi](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@Alex\_Penazzi](https://forum.ansible.com/u/Alex_Penazzi)\
**Post date:** [November 28, 2018, 1:52pm UTC](https://forum.ansible.com/t/how-can-change-or-add-multiple-path-to-ansible-python-module-location-variable/29142/1 "2018-11-28T13:52:48Z")

</div>

after developing a dynamic inventory script in python3 that requires 3rd party modules installed in a different path (from ansible site-package) I realised that ansible is not able to import them (I guess because the variable mentioned in the subject does not include that path).

I would need to amend the content of that variable but I did not find any reference on the official ansible documentation.  
is it possible?

thanks  
alex
