# Openmc installation using mamba

**URL:** <https://openmc.discourse.group/t/openmc-installation-using-mamba/3130>\
**Category:** User Support\
**Created:** [June 22, 2023, 2:25pm UTC](https://openmc.discourse.group/t/openmc-installation-using-mamba/3130 "2023-06-22T14:25:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![subhrojitbagchi](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@subhrojitbagchi](https://openmc.discourse.group/u/subhrojitbagchi)\
**Post date:** [June 22, 2023, 2:25pm UTC](https://openmc.discourse.group/t/openmc-installation-using-mamba/3130/1 "2023-06-22T14:25:26Z")

</div>

Hi I am new to this group.  
So I was trying to install openmc using mamba. But I am getting the following error “openmc does not exist” after: mamba create -n openmc-env -c conda-forge openmc.  
Kindly help me solving the issue.

 ![image](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/0/0dda3ac864c7b87b297adaf40c0da77d791ae960.jpeg)

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [June 23, 2023, 11:43am UTC](https://openmc.discourse.group/t/openmc-installation-using-mamba/3130/2 "2023-06-23T11:43:29Z")

</div>

It looks like your architecture is `arm64`, meaning you’re using a machine with Apple Silicon (M1 or M2). Unfortunately our conda-forge package does not currently have support for Apple Silicon. It is possible to use the x86\_64 package on Apple Silicon though: see [here](https://taylorreiter.github.io/2022-04-05-Managing-multiple-architecture-specific-installations-of-conda-on-apple-M1/) or [here](https://towardsdatascience.com/python-conda-environments-for-both-arm64-and-x86-64-on-m1-apple-silicon-147b943ffa55).

---

<div class="post-metadata">

**Author:** ![bkim0902](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@bkim0902](https://openmc.discourse.group/u/bkim0902)\
**Post date:** [September 24, 2023, 5:35pm UTC](https://openmc.discourse.group/t/openmc-installation-using-mamba/3130/3 "2023-09-24T17:35:44Z")

</div>

Hello,

I’ve mangaed to successfully install OpenMC on my macOS M2 chip (please refer to the attached screenshot). I used the ‘conda install’ method and downloaded

```auto
osx-64/openmc-0.13.3-dagmc_mpi_openmpi_py311h50392e1_100.conda 

```

(link [here](https://anaconda.org/conda-forge/openmc/files)) using the file path name to install it. However, I’m encountering an issue with openmc.deplete and other packages. Can you please provide guidance on how to resolve this?

Here is a screenshot showing that importing OpenMC works:

 ![Screenshot 2023-09-24 at 12.32.55 PM](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/7/7ac5e975cfa16bc00d978e8506935871a864e2a9.png)

Thank you

---

<div class="post-metadata">

**Author:** ![bkim0902](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@bkim0902](https://openmc.discourse.group/u/bkim0902)\
**Post date:** [September 24, 2023, 5:37pm UTC](https://openmc.discourse.group/t/openmc-installation-using-mamba/3130/4 "2023-09-24T17:37:02Z")

</div>

New users can only attach one screenshot… so I also attached another one here showing openmc.deplete doesn’t work:

 ![Screenshot 2023-09-24 at 1.36.33 PM](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/8/820811b3da42002e6b4bfb2d6482637c8e941f50.jpeg)

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [September 26, 2023, 6:54pm UTC](https://openmc.discourse.group/t/openmc-installation-using-mamba/3130/5 "2023-09-26T18:54:30Z")

</div>

Once again, please refer to the links I posted above. If you want to use x86\_64 packages on an M1/M2, you may have to run your terminal using Rosetta.

---

<div class="post-metadata">

**Author:** ![josephhall](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@josephhall](https://openmc.discourse.group/u/josephhall)\
**Post date:** [November 16, 2023, 8:24pm UTC](https://openmc.discourse.group/t/openmc-installation-using-mamba/3130/6 "2023-11-16T20:24:09Z")

</div>

Hi there, I’ve been having the same problem as other people and think I’ve found a satisfactory workaround that’s easier than digging through the excellent pieces you linked:

```auto
CONDA_SUBDIR=osx-64 conda create -n openmc-env python
conda activate openmc-env
python -c "import platform;print(platform.machine())"
conda config --env --set subdir osx-64
conda install mamba
mamba install openmc=0.13.3

```

This just creates a conda environment that emulates an x86\_64 architecture. Could be issues with backcompatability but I just wanted to download and test openmc so should be fine for basic usage.
