rstudio-desktop PackagesNotFoundError: The following packages are not available from current channels

I recently got a new computer (MacBook Pro with Apple M2 Max chip aka Apple Silicon M2 Max). On my previous computer I installed and used RStudio fine in a conda environment using

conda install -c conda-forge rstudio-desktop

When I try this however, I get the message:

PackagesNotFoundError: The following packages are not available from current channels:

  - rstudio-desktop

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Anyone know how to get around this please?

Since Anaconda controls the installation process you are using, you can try getting help from Anaconda, if your problem is not solved here.

I was able to get around the issue by doing the following:

## create empty environment
conda create -n rstud

## activate
conda activate rstud

## use x86_64 architecture channel(s)
conda config --env --set subdir osx-64

## install rstudio-desktop
conda install rstudio-desktop

Based on information from here: Env creation from python 3.7 not working M1 Apple Silicon Mac (Miniconda 3) · Issue #12206 · conda/conda · GitHub

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.