Skip to contents

This function installs the tiktoken Python package using the specified installation method and Conda environment (if any).

Usage

install_tiktoken(method = "auto", conda = "auto")

Arguments

method

The installation method to use. Can be one of "auto" (default), "conda", "virtualenv", "pip", or "windows".

conda

The name or path of the Conda environment to use for the installation, or "auto" (default) to let reticulate automatically manage the environment.