# Ansible.runner not found

**URL:** <https://forum.ansible.com/t/ansible-runner-not-found/21258>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [April 25, 2016, 1:46pm UTC](https://forum.ansible.com/t/ansible-runner-not-found/21258 "2016-04-25T13:46:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chechu\_Santander](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@Chechu\_Santander](https://forum.ansible.com/u/Chechu_Santander)\
**Post date:** [April 25, 2016, 1:46pm UTC](https://forum.ansible.com/t/ansible-runner-not-found/21258/1 "2016-04-25T13:46:53Z")

</div>

hey guys,

I’m trying to create an ansible script with python to launch some playbooks, but when I try to import ansible.runner, I got the library missing

Traceback (most recent call last):  
File “./test\_ansible.py”, line 2, in   
import ansible.runner  
ImportError: No module named runner

ansible-plybook works fine, import ansible, also works…I installed cloning from Github, later run “git submodule update --init --recursive”, later “make install”

Any idea?

P.S: I’m using Ubuntu 14.04 , and I would like to use the version from Github as has some enhancement I need that are not available yet on pip and apt

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [April 25, 2016, 1:54pm UTC](https://forum.ansible.com/t/ansible-runner-not-found/21258/2 "2016-04-25T13:54:16Z")

</div>

The API has changed a lot in \>=2.x, runner was broken apart into many classes.  
Check API docs [http://docs.ansible.com/ansible/developing\_api.html](http://docs.ansible.com/ansible/developing_api.html).
