# These instructions are for installing a conda environment for CODAS on an # Apple computer with an ARM chip. They have been tested M1-M4 machines. # The non-standard aspect arises from slightly different code collections # for Intel vs ARM. # If you have not already done so, install the command-line compiler tools: xcode-select --install # You can check this with gcc --version # which will print several lines of info if the compiler is installed. # Install miniconda: # 1) In any directory, download it: curl -LO https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh # 2) and install it. bash Miniconda3-latest-MacOSX-arm64.sh # Accept the license and the default location, but answer "no" to the # question about initialization. # Now, back at the prompt, execute the initialization: ~/miniconda3/bin/conda init --all # Quit the terminal *application* (not just the window) and open a new # terminal. # Configure conda: conda config --set auto_activate_base false conda config --add channels conda-forge conda config --set channel_priority strict # Again, quit the terminal application, and open a new terminal. # Make the new environment: conda env create --file codas_processing_apple.yml # and activate it: conda activate pycodas