On Sat, Jan 1, 2022 at 2:32 PM maspotts <[email protected]> wrote:
>
> I wonder if anyone can help resolve this for me?  I'm trying to install 
> python 3 (using already-installed pyenv) on a (Catalina) Mac: the install 
> goes fine if I don't try to build it with 
> PYTHON_CONFIGURE_OPTS="--enable-framework", but if I supply that flag in the 
> environment then it succeeds by hand (via ssh) but fails via ansible (using 
> suzuki-shunsuke.pyenv-module or shell).  To rule out as many confounding 
> factors as possible I put the relevant commands into a small bash script: 
> dopy.sh, and then executed it manually (via ssh) and then again via an 
> ansible play.  I can't figure out why it works via ssh but not via ansible.  
> I'm wondering whether Apple's SIP might be messing with me.  But I'm hoping 
> there's something simple I can do to make it work!

pyenv involves a lot of environment specific chicanery. Why not simply
use the MacOS installation package at:
https://www.python.org/downloads/release/python-3101/ ?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAOCN9rw-HJppu7mimxzVN73OZHNk0N931BPv_zFOoFdkppwTsw%40mail.gmail.com.

Reply via email to