Passer au contenu

Locates the Python executable for a given conda environment. Handles differences between Windows and Unix paths.

Utilisation

find_env_python(conda_base, env_name)

Arguments

conda_base

Path to conda base directory

env_name

Name of the conda environment

Valeur de retour

Path to Python executable, or NULL if not found