You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
Hi: I've been able to successfully build python (3.10.1) with this module (which is great because I could not get it to build using pyenv via the shell module!) but I have one problem: the module is looking for pyenv (executable) inside pyenv_root (actually in {{ pyenv_root }}/bin). Whereas I have pyenv installed in /opt/brew/bin. I can get the module to build by specifying pyenv_root as /opt/brew (and hence it finds the pyenv executable) but then of course it fails to install, because my pyenv_root is really ~/.pyenv. How can I specify the correct pyenv_root (~/.pyenv) and also tell the module to use /opt/brew/bin/pyenv? Thanks!!
The text was updated successfully, but these errors were encountered:
In the code I see: cmd_path = os.path.join(pyenv_root, "bin", "pyenv") which is very explicit, but surprising (to me) since my ~/.pyenv does not contain a bin subdir at all. I verified a successful workaround: I can create a symlink (mkdir ~/.pyenv/bin && ln -s /opt/brew/bin/pyenv ~/.pyenv/bin/) and then my python 3.10.1 install does succeed. But it would be very nice to be able to supply an arg (eg. cmd_path: /opt/brew/bin/pyenv) to the module in my task file instead.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi: I've been able to successfully build python (3.10.1) with this module (which is great because I could not get it to build using pyenv via the shell module!) but I have one problem: the module is looking for
pyenv
(executable) insidepyenv_root
(actually in{{ pyenv_root }}/bin
). Whereas I havepyenv
installed in/opt/brew/bin
. I can get the module to build by specifyingpyenv_root
as/opt/brew
(and hence it finds thepyenv
executable) but then of course it fails to install, because mypyenv_root
is really~/.pyenv
. How can I specify the correctpyenv_root
(~/.pyenv
) and also tell the module to use/opt/brew/bin/pyenv
? Thanks!!The text was updated successfully, but these errors were encountered: