-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Automatic Configuration] First package loading does not suggest to install miniconda anymore #1488
Comments
I also ran into this issue, and clicking "yes" in the popup did not solve it as it would try (and fail) to create a virtualenv instead. I solved it by manually creating a conda environment named "r-reticulate". It might be better to just throw an error telling the user to create a default environment named "r-reticulate" using their preferred environment manager. |
Have you tried no ? |
Beginning with reticulate version 1.31, reticulate no longer prompts users to install miniconda. Instead, if user has expressed no preference for a Python installation, reticulate will fall back to prompting users to create a default venv named "r-reticulate". See here for a description of how reticulate selects which python installation to bind to, and how you can configure or customize the behavior: https://rstudio.github.io/reticulate/articles/versions.html |
That means this documentation (https://rstudio.github.io/reticulate/articles/python_dependencies.html#installation) is out-of-date. It still says
|
That section is only applicable if Are you loading a package with an autoconfigure field in DESCRIPTION? |
Yes, I probably should have mentioned that in the original message associated with the issue. |
In the Automatic Configuration section of the Managing an R Package’s Python Dependencies vignette, it says that:
which was the behaviour I indeed used to see if no miniconda install was detected on my machine.
However now, the following behaviour occur.
If I execute the following code:
then it triggers:
while previously it used to propose to trigger
reticulate::install_miniconda()
.If I do
it triggers the same question as well, suggesting it did not detect (or at least set up) an existing Python environment either.
I am running :
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: