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

Installing miniconda on Raspberry Pi #1611

Open
neuwirthe opened this issue May 20, 2024 · 2 comments
Open

Installing miniconda on Raspberry Pi #1611

neuwirthe opened this issue May 20, 2024 · 2 comments

Comments

@neuwirthe
Copy link

When trying to usr install_miniconda on a Raspberry pi, it does not work because the installer aarch64 is not yet supported on repo.anaconda.com.miniconda

There are 2 possible solutions.
The brute force one is setting
options(reticulate.miniconda.url="https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh")

One also could add a pice of code in fuction miniconda_installer_url: directly after

if (info$sysname == "Darwin" && info$machine == "arm64") {
    base <- "https://github.com/conda-forge/miniforge/releases/latest/download"
    name <- "Miniforge3-MacOSX-arm64.sh"
    return(file.path(base, name))
  }

add

if (info$sysname == "Linux" && (info$machine == "arm64" | info$machine == "aarch64") {
    base <- "https://github.com/conda-forge/miniforge/releases/latest/download"
    name <- "Miniforge3-Linux-aarch64.sh"
    return(file.path(base, name))
  }

Possibly this works for all aarch64 Linux machines.

@t-kalinowski
Copy link
Member

Would you like to submit a PR?

@neuwirthe
Copy link
Author

neuwirthe commented May 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants