Skip to main content

validate_interpreter

Function validate_interpreter 

Source
pub fn validate_interpreter(path: PathBuf) -> Result<PathBuf, SidecarError>
Available on neither target_family=wasm nor iOS.
Expand description

Checks the interpreter the path resolves to, but keeps the configured path to run: a virtual environment is only itself when entered through its own bin/python3, and the canonical target is the bare interpreter.