py_discover_config: Discover the version of Python to use with reticulate.

View source: R/config.R

py_discover_configR Documentation

Discover the version of Python to use with reticulate.

Description

This function enables callers to check which versions of Python will be discovered on a system as well as which one will be chosen for use with reticulate.

Usage

py_discover_config(required_module = NULL, use_environment = NULL)

Arguments

required_module

A optional module name that will be used to select the Python environment used.

use_environment

An optional virtual/conda environment name to prefer in the search.

Details

The order of discovery is documented in vignette("versions"), also available online here

Value

Python configuration object.


reticulate documentation built on June 22, 2024, 9:36 a.m.