datalad / datalad-installer

Installation script for Datalad and related components
MIT License
6 stars 3 forks source link

install arm64 not amd64 on MacOS M1 #129

Closed yarikoptic closed 2 years ago

yarikoptic commented 2 years ago

https://docs.conda.io/en/latest/miniconda.html points to https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh, and ATM datalad-installer just tries to proceed with amd64:

datalad@26696 datalad-installer % git describe
v0.9.1-12-g21205bd
datalad@26696 datalad-installer % python3 src/datalad_installer.py -E ~/miniconda.sh miniconda --path ~/miniconda 
2022-10-26T16:02:06-0700 [INFO    ] datalad_installer Installing Miniconda
2022-10-26T16:02:06-0700 [INFO    ] datalad_installer Path: /Users/datalad/miniconda
2022-10-26T16:02:06-0700 [INFO    ] datalad_installer Batch: False
2022-10-26T16:02:06-0700 [INFO    ] datalad_installer Spec: None
2022-10-26T16:02:06-0700 [INFO    ] datalad_installer Python Match: None
2022-10-26T16:02:06-0700 [INFO    ] datalad_installer Extra args: None
2022-10-26T16:02:06-0700 [INFO    ] datalad_installer Downloading and running miniconda installer
2022-10-26T16:02:06-0700 [INFO    ] datalad_installer Downloading https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
2022-10-26T16:02:07-0700 [INFO    ] datalad_installer Installing miniconda in /Users/datalad/miniconda
2022-10-26T16:02:07-0700 [INFO    ] datalad_installer Running: bash /var/folders/hq/p63tkpk938v_zvy58887f91h0000gp/T/tmp3o2c84zf/Miniconda3-latest-MacOSX-x86_64.sh -p /Users/datalad/miniconda -s
WARNING:
    Your operating system appears not to be 64-bit, but you are trying to
    install a 64-bit version of Miniconda3.
    Are sure you want to continue the installation? [yes|no]
[no] >>>