Skip to content
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

No non-system installation of Python could be found #317

Closed
revodavid opened this issue Apr 14, 2020 · 4 comments
Closed

No non-system installation of Python could be found #317

revodavid opened this issue Apr 14, 2020 · 4 comments

Comments

@revodavid
Copy link
Member

Describe the bug
Loading the azuremlsdk package with library(azuremlsdk) generates an error and prompt:

No non-system installation of Python could be found. Would you like to download and install Miniconda? Miniconda is an open source environment management system for Python. See https://docs.conda.io/en/latest/miniconda.html for more details.
 
Would you like to install Miniconda? [Y/n]: 

To Reproduce

  • Create a fresh Azure ML Compute Instance and launch RStudio using the link in Azure ML studio.
  • At the R console, type library(azuremlsdk)

Expected behavior
library(azuremlsdk) generates no output or prompt, and the package loads

Screenshots
image

Additional context
Choosing n to the prompt gives the message Installation aborted. but the package loads successfully. After this, new RStudio sessions do not generate the error or prompt when loading the package.

The prompt itself causes scripts and vignettes loading the library to block.

> installed.packages()["azuremlsdk","Version"]
[1] "0.6.85"
@mx-iao
Copy link
Contributor

mx-iao commented Apr 15, 2020

@revodavid This is a design decision from the reticulate package: rstudio/reticulate#607

You will need to respond "n" to the prompt, and you should only be prompted once for that machine.

@revodavid
Copy link
Member Author

In this case, the azuremlsdk user isn't installing reticulate directly, and Python azureml installs its own Anaconda distro. So this prompt is a surprise to the user (and it still blocks scripts). Perhaps we can suppress it somehow?

@mx-iao
Copy link
Contributor

mx-iao commented Apr 15, 2020

Yeah, we will look into seeing if we can disable/suppress the prompt on the compute instance. rstudio/reticulate#710 looks like something we can look into. @diondrapeck FYI

@mx-iao
Copy link
Contributor

mx-iao commented Jul 23, 2020

Dupe of #361

@mx-iao mx-iao closed this as completed Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants