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

Issue installing on ARM 64 MacOS 151.1 #95

Open
doonhammer opened this issue Dec 7, 2024 · 2 comments
Open

Issue installing on ARM 64 MacOS 151.1 #95

doonhammer opened this issue Dec 7, 2024 · 2 comments
Labels
bug Something isn't working triaged This issue or pull request was triaged

Comments

@doonhammer
Copy link

Describe the bug

Following the install instructions for Anaconda and Apple Silicon Mac mini M2 I see the following error with the
conda env create
step. I am getting the following error dump

Channels:
 - aihabitat
 - pytorch
 - pyg
 - defaults
 - conda-forge
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides requested aihabitat::habitat-sim =0.2.2*
  - nothing provides requested mkl <2022
  - nothing provides blas * mkl needed by pytorch-1.11.0.arm64-py3.8_0

Could not solve for environment specs
The following packages are incompatible
├─ habitat-sim 0.2.2*  does not exist (perhaps a typo or a missing channel);
├─ mkl <2022  does not exist (perhaps a typo or a missing channel);
└─ pytorch 1.11.0*  is not installable because it requires
   └─ blas * mkl, which does not exist (perhaps a missing channel).

I am running the following Python version

Python 3.12.7
@doonhammer doonhammer added the bug Something isn't working label Dec 7, 2024
@tristanls
Copy link
Contributor

Hi @doonhammer, I'm sorry that the install instructions are not working.

On Apple's ARM 64, the Anaconda instructions require to specify the environment file explicitly:

conda env create -f environment_arm64.yml

Is the above command the one that generated the error?

If you still get the same error even when specifying -f environment_arm64.yml, this may be a similar problem described in #81. There, the solution seemed to be to use the Miniconda setup instructions (if you're using zsh shell):

conda env create -f environment_arm64.yml --subdir=osx-64
conda init zsh
conda activate tbp.monty
conda config --env --set subdir osx-64

Or if you're using bash or some other shell:

conda env create -f environment_arm64.yml --subdir=osx-64
conda init
conda activate tbp.monty
conda config --env --set subdir osx-64

@tristanls tristanls added the triaged This issue or pull request was triaged label Dec 9, 2024
@doonhammer
Copy link
Author

Adding --subdir=osx-64 did the trick with Anaconda install. Install succeeded and all tests passed. Thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged This issue or pull request was triaged
Projects
None yet
Development

No branches or pull requests

2 participants