# Error while doing installation in mac osX

**URL:** <https://forum.ansible.com/t/error-while-doing-installation-in-mac-osx/22529>\
**Category:** Ansible Project\
**Created:** [September 13, 2016, 3:13am UTC](https://forum.ansible.com/t/error-while-doing-installation-in-mac-osx/22529 "2016-09-13T03:13:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Ramesh](https://forum.ansible.com/u/Ramesh)\
**Post date:** [September 13, 2016, 3:13am UTC](https://forum.ansible.com/t/error-while-doing-installation-in-mac-osx/22529/1 "2016-09-13T03:13:26Z")

</div>

Hi here,

Im getting below error while doing installation.Im using OS-X EI Capitan 10.11.5

```auto
Command "/usr/bin/python -u -c "import setuptools, tokenize; __file__ ='/private/tmp/pip-build-3FnH7o/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)( __file__ ).read().replace('\r\n', '\n'), __file__ , 'exec'))" install --record /tmp/pip-v2ZSRT-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-3FnH7o/pycrypto/

```

Below are the full logs……

```auto

Rameshs-MacBook-Pro:MySQL Ramesh$ **sudo easy_install pip**
Password:
Searching for pip
Best match: pip 8.1.2
Processing pip-8.1.2-py2.7.egg
pip 8.1.2 is already the active version in easy-install.pth
Installing pip script to /usr/local/bin
Installing pip2.7 script to /usr/local/bin
Installing pip2 script to /usr/local/bin

Using /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip

```
