ubermag / help

Repository for raising issues and requesting help on Ubermag
BSD 2-Clause "Simplified" License
11 stars 3 forks source link

M2 Conda Install Issue #265

Open SHMoodyPSI opened 1 year ago

SHMoodyPSI commented 1 year ago

I am trying to install ubermag on an M2 Mac using the conda package. I follow the instructions on the webpages such as making a python 3.10 venv and then when i use the "conda install --channel conda-forge ubermag" command i get the following error:

Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

Your installed version is: 13.2.1

Any help with this possible?

Cheers,

Sam

samjrholt commented 1 year ago

Hi Sam,

We don't currently test on the M2 architecture and we have heard of some issues in the past. That being said, try the Advanced installations steps for Mac (https://ubermag.github.io/installation.html#advanced-installation) and let us know how it goes.

Also in the future we will be recommending using mamba rather than conda as this solved the environment significantly faster.

lang-m commented 1 year ago

Adding to what @samjrholt said: we currently do not have the OOMMF conda package for ARM64. Please use pip to install ubermag and combine it with a custom-compiled OOMMF (conda will always fail!).

lang-m commented 1 year ago

Related to #140

DebanjanPolley commented 11 months ago

Recently, I found an easier way to install UBERMAG on a Mac (M1/M2 chip).

I had to build an osx-64 environment within my M2 Mac in the following way:

  1. Create an osx-64 virtual environment ubermag_env CONDA_SUBDIR=osx-64 conda create -n ubermag_env python
  2. activate the virtual environment conda activate ubermag_env
  3. config osx-64 conda config --env --set subdir osx-64

Then use $ conda install --channel conda-forge ubermag to install UBERMAG

github-actions[bot] commented 10 months ago

This issue has not been active in 1 month. If there is no further activity this issue will be closed in 2 weeks.

DebanjanPolley commented 7 months ago

Recently, I found an easier way to install UBERMAG on a Mac (M1/M2 chip).

I had to build an osx-64 environment within my M2 Mac in the following way:

  1. Create an osx-64 virtual environment ubermag_env CONDA_SUBDIR=osx-64 conda create -n ubermag_env python
  2. activate the virtual environment conda activate ubermag_env
  3. config osx-64 conda config --env --set subdir osx-64

Then use $ conda install --channel conda-forge ubermag to install UBERMAG