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
later calls to conda_binary use this bad value instead of whatever was provided to the original conda arg. Could get_python_conda_info use find_conda first instead of looking through the history file? That way the option reticulate.conda_binary or the environment variable RETICULATE_CONDA can be used even when the history file has a bad value.
conda <- find_conda()
if (is.null(conda)) {
# not base env, parse conda-meta history to find the conda binary
# that created it
conda <- python_info_condaenv_find(root)
}
The text was updated successfully, but these errors were encountered:
tl-hbk
changed the title
Configurable conda executable when calling use_python
Invalid conda-meta/history path prioritized over configured conda binary
Aug 24, 2024
When calling
use_python
oruse_condaenv
even if you provideconda=<path to binary>
the following code path still gets hitSome environments I have happened to be created using
python -m conda
which leads to the following being in the history filelater calls to
conda_binary
use this bad value instead of whatever was provided to the originalconda
arg. Couldget_python_conda_info
usefind_conda
first instead of looking through the history file? That way the optionreticulate.conda_binary
or the environment variableRETICULATE_CONDA
can be used even when the history file has a bad value.The text was updated successfully, but these errors were encountered: