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

Miniconda setup failure with Mac M1 chip #74

Open
kaparna126 opened this issue Aug 24, 2021 · 1 comment
Open

Miniconda setup failure with Mac M1 chip #74

kaparna126 opened this issue Aug 24, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@kaparna126
Copy link
Contributor

When running setup_conda, setup doesn't finish. The error given is:

./Miniconda3-latest-MacOSX-x86.sh: line 253: /Users/aparnakumar/miniconda3/pkgs/python-3.4.3-0/bin/python: Bad CPU type in executable
ERROR:
cannot execute native osx-32 binary, output from 'uname -a' is:
Darwin Aparnas-MacBook-Air.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:27 PDT 2021; root:xnu-7195.141.2~5/RELEASE_ARM64_T8101 arm64
Desktop/magellanmapper-1.4.0/bin/setup_conda: line 116: /Users/aparnakumar/miniconda3/bin/conda: No such file or directory
Desktop/magellanmapper-1.4.0/bin/setup_conda: line 117: conda: command not found
Desktop/magellanmapper-1.4.0/bin/setup_conda: line 118: conda: command not found
Desktop/magellanmapper-1.4.0/bin/setup_conda: line 125: conda: command not found
Creating new Conda environment from environment.yml...
Installing dependencies (may take awhile and appear to hang after the
  "Executing transaction" step because of additional downloads/installs)...
Desktop/magellanmapper-1.4.0/bin/setup_conda: line 142: conda: command not found
Confirming mag Conda environment...
Desktop/magellanmapper-1.4.0/bin/setup_conda: line 147: conda: command not found
mag could not be found, exiting.

Could also be related to default running in zsh instead of bash.
Downloaded Miniconda3-latest-MacOSX-x86.sh

@yoda-vid yoda-vid added the bug Something isn't working label Aug 24, 2021
@yoda-vid
Copy link
Collaborator

Thanks for reporting this, @kaparna126 ! Looks like the source code installer is picking up the wrong version of Miniconda to download on ARM platforms. Will look into the platform detection to fix this.

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

No branches or pull requests

2 participants