Skip to content

Instantly share code, notes, and snippets.

@mmattamala
Created July 1, 2022 13:30
Show Gist options
  • Save mmattamala/f6cf2a4213830637b123f0906c16ae7b to your computer and use it in GitHub Desktop.
Save mmattamala/f6cf2a4213830637b123f0906c16ae7b to your computer and use it in GitHub Desktop.
Setup rosetta environment on M1 conda installation

From conda-forge/miniforge#165 (comment)

CONDA_SUBDIR=osx-64 conda create -n rosetta python   # create a new environment called rosetta with intel packages.
conda activate rosetta
python -c "import platform;print(platform.machine())"
conda config --env --set subdir osx-64  # make sure that conda commands in this environment use intel packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment