Thanks for the suggestion, but I do rely on pyenv a lot: I have to have 
multiple versions of python (2 and 3) all available, and I use virtual 
environments as well, so even if I installed a python from python.org, I'd 
still want to be able to use pyenv.  

On Saturday, 1 January 2022 at 13:18:24 UTC-8 [email protected] wrote:

> 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/dd51f586-ff20-4402-adb7-353e9b80870dn%40googlegroups.com.

Reply via email to