# First installation of Tower fails in ./setup.sh

**URL:** <https://forum.ansible.com/t/first-installation-of-tower-fails-in-setup-sh/15097>\
**Category:** Ansible Project\
**Created:** [April 27, 2014, 2:19pm UTC](https://forum.ansible.com/t/first-installation-of-tower-fails-in-setup-sh/15097 "2014-04-27T14:19:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Larry\_Fast](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Larry\_Fast](https://forum.ansible.com/u/Larry_Fast)\
**Post date:** [April 27, 2014, 2:19pm UTC](https://forum.ansible.com/t/first-installation-of-tower-fails-in-setup-sh/15097/1 "2014-04-27T14:19:16Z")

</div>

After downloading Ansible Tower, I get the install error below. I’m following these pages for the install of Ansible and Tower  
[http://docs.ansible.com/intro\_installation.html#running-from-source](http://docs.ansible.com/intro_installation.html#running-from-source)

[http://releases.ansible.com/ansible-tower/docs/tower\_user\_guide-latest.pdf](http://releases.ansible.com/ansible-tower/docs/tower_user_guide-latest.pdf)

[larry.fast@pm2-ops-int-van ansible-tower-setup-1.4.9]$ ./setup.sh  
Traceback (most recent call last):  
File “/home/larry.fast/ansible\_system/ansible/bin/ansible-playbook”, line 25, in   
import ansible.playbook  
**ImportError: No module named ansible.playbook**

NOTES:  
CentOS6  
Ansible itself is configured:

- installed from github
- source ./hacking/env-setup
- ansible all -m ping works as shown below

[larry.fast@pm2-ops-int-van ansible-tower-setup-1.4.9]$ cd …  
[larry.fast@pm2-ops-int-van ansible\_system]$ ansible all -m ping -i host\_inventory  
cass2-msg| success \>\> {  
“changed”: false,  
“ping”: “pong”  
}

---

<div class="post-metadata">

**Author:** ![Larry\_Fast](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Larry\_Fast](https://forum.ansible.com/u/Larry_Fast)\
**Post date:** [April 27, 2014, 7:25pm UTC](https://forum.ansible.com/t/first-installation-of-tower-fails-in-setup-sh/15097/2 "2014-04-27T19:25:20Z")

</div>

Resolved: switched from the github ansible to the RPM.

---

<div class="post-metadata">

**Author:** ![xhvswe521](https://avatars.discourse-cdn.com/v4/letter/x/b77776/32.png) [@xhvswe521](https://forum.ansible.com/u/xhvswe521)\
**Post date:** [April 28, 2014, 7:28am UTC](https://forum.ansible.com/t/first-installation-of-tower-fails-in-setup-sh/15097/3 "2014-04-28T07:28:17Z")

</div>

You need to install the releate plugins about the ansible tower :python-setuptools  
The problems will be solved.

在 2014年4月28日星期一UTC+8上午3时25分20秒，Larry Fast写道：

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [April 28, 2014, 2:03pm UTC](https://forum.ansible.com/t/first-installation-of-tower-fails-in-setup-sh/15097/4 "2014-04-28T14:03:13Z")

</div>

Hi all,

For any tower questions please ask [support@ansible.com](mailto:support@ansible.com) rather than this list.

This list is just for the core project.

Thanks!

–Michael
