Skip to contents

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

Usage

find_env_python(conda_base, env_name)

Arguments

conda_base

Path to conda base directory

env_name

Name of the conda environment

Value

Path to Python executable, or NULL if not found