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?
Felix1:
PackagesNotFoundError: The following packages are not available from current channels
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