# Installing ansible (setuptools woes)

**URL:** <https://forum.ansible.com/t/installing-ansible-setuptools-woes/11566>\
**Category:** Ansible Project\
**Created:** [May 21, 2012, 9:53am UTC](https://forum.ansible.com/t/installing-ansible-setuptools-woes/11566 "2012-05-21T09:53:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pas](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Pas](https://forum.ansible.com/u/Pas)\
**Post date:** [May 21, 2012, 9:53am UTC](https://forum.ansible.com/t/installing-ansible-setuptools-woes/11566/1 "2012-05-21T09:53:04Z")

</div>

Hello!

I have successfully installed ansible, but it unearthed an ugly question regarding setuptools and distutils. I have both installed, but I still get the following error:

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install\_requires’  
warnings.warn(msg)

Looking at setup.py, it uses distutils only (no imports from setuptools), but distutils doesn’t support install\_requires ( [http://docs.python.org/distutils/apiref.html#distutils.core.setup](http://docs.python.org/distutils/apiref.html#distutils.core.setup) ).

I did not want to file a bug on Github just yet, because it could be some problem in my setup. (I’m using ArchLinux, but tried it on a Debian Squeeze too, with similar results.)

So, is this a bug? If not, can someone give some user support? 🙂

Thanks,  
Pas

---

<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:** [May 21, 2012, 12:05pm UTC](https://forum.ansible.com/t/installing-ansible-setuptools-woes/11566/2 "2012-05-21T12:05:56Z")

</div>

No idea what is going on here with packaging on 2.7.

If someone knows how to fix it, please have at.

Hasn’t been reported yet, so I would expect it’s ok on newer Fedora and Ubuntu though. (?)

–Michael
