Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M2 Conda Install Issue #265

Open
SHMoodyPSI opened this issue Nov 10, 2023 · 6 comments
Open

M2 Conda Install Issue #265

SHMoodyPSI opened this issue Nov 10, 2023 · 6 comments
Labels
stale No response on the issue - may be closed soon.

Comments

@SHMoodyPSI
Copy link

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:

  • feature:/osx-arm64::__osx==13.2.1=0
  • feature:|@/osx-arm64::__osx==13.2.1=0

Your installed version is: 13.2.1

Any help with this possible?

Cheers,

Sam

@lang-m lang-m transferred this issue from ubermag/ubermag Nov 13, 2023
@samjrholt
Copy link
Member

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
Copy link
Member

lang-m commented Nov 13, 2023

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
Copy link
Member

lang-m commented Nov 13, 2023

Related to #140

@DebanjanPolley
Copy link

DebanjanPolley commented Dec 2, 2023

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

Copy link

github-actions bot commented Jan 2, 2024

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

@github-actions github-actions bot added the stale No response on the issue - may be closed soon. label Jan 2, 2024
@DebanjanPolley
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No response on the issue - may be closed soon.
Projects
None yet
Development

No branches or pull requests

4 participants