1

I have a M1 MacBook, I am using miniforge3 to support osx-arm64 architecture. Unfortunately i need to use some packages not built for ARM (ifcopenshell, pythonocc-core) so I have added as last channel conda-forge/osx-64. But this way I end up with packages of mixed architectures and some of then are not working.

What is the best practise to have an environment only for x64 ? I don't want to install anaconda in parallel

Thanks in advance

Frant
  • 4,492
  • 1
  • 14
  • 21
Tiberio
  • 11
  • 1
  • 1
    @merv, you need to set `--env` to make that work only for that env. Otherwise it's a global setting. `conda config --env --set subdir osx-64` – isuruf Mar 21 '22 at 07:45
  • @isuruf oops good catch - was a little hasty there. I cover this setting here (though, for **win-32** / **win-64** switching): https://stackoverflow.com/a/58014896/570918 – merv Mar 23 '22 at 02:55

1 Answers1

2
  conda create -n intel_env
  conda activate intel_env
  conda config --env --set subdir osx-64
  conda install python

Or

  CONDA_SUBDIR=osx-64 conda create -n intel_env python
  conda activate intel_env
  conda config --env --set subdir osx-64
isuruf
  • 1,815
  • 10
  • 10