Skip to content

message from sessioninfo::python_info() #110

@tyner

Description

@tyner

One may use the RETICULATE_PYTHON environment to tell reticulate where to look for python. And in fact sessioninfo::python_info() (and hence sessioninfo::session_info(info = "python")) are quite aware of this (by calling reticulate::py_config()) , but only if isNamespaceLoaded("reticulate") && reticulate::py_available(initialize = FALSE) is already TRUE.

Perhaps that is desirable (because we don't want sessioninfo::python_info() to have side-effects), but maybe instead of saying "Python is not available" perhaps sessioninfo::python_info() could say "Python is not available (or reticulate::py_config has not been called yet)" ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions