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 Sept. 11, 2024, 8:31 p.m.