NVM, I did a "python2.7 setup.py build" before the "python2.7 setup.py 
install" step (not pip setup.py build) and that's where the error is. So 
the correct steps are

$ cd /path/ansible-source
$ source ./hacking/env_setup
$ pip install -r requirements.txt
$ python2.7 setup.py install



On Friday, November 10, 2017 at 12:40:15 PM UTC-5, ZillaYT wrote:
>
> I was asked to install Ansible from source, so I am though I know I can 
> "pip install ansible"
>
> On a RHEL6.x VM. I have Python 2.7.14 and pip 9.0.1 installed. So I 
> downloaded the tarball and extracted it in /path/ansible-source. Now I do
>
> $ cd /path/ansible-source
> $ source ./hacking/env_setup
> $ pip install -r requirements.txt
> $ pip setup.py install
>
> but this puts the executable in /path/ansible-source/build directory. I 
> wan them to go to /usr/local/bin. Where do I set this up?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/37d32cf2-1e24-443e-b940-6d6c47ee2a71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to