[ncl-install] trouble installing NCL under conda environment

Vanessa Vincente vincente at ucar.edu
Mon Sep 26 16:10:30 MDT 2022


Hello NCL Install Helpers,

I am having trouble installing NCL under a conda environment. I am
working on a MacBook Pro with chip Apple M1 Pro, and have installed
miniconda (Miniconda3 macOS Apple M1 64-bit pkg). Can you please help me
install NCL?

When I type: conda create -n ncl_stable -c conda-forge ncl
I get the following:

Collecting package metadata (current_repodata.json): done

Solving environment: failed with repodata from current_repodata.json, will
retry with next repodata source.

Collecting package metadata (repodata.json): done

Solving environment: failed


PackagesNotFoundError: The following packages are not available from
current channels:


  - ncl


Current channels:


  - https://conda.anaconda.org/conda-forge/osx-arm64

  - https://conda.anaconda.org/conda-forge/noarch

  - https://repo.anaconda.com/pkgs/main/osx-arm64

  - https://repo.anaconda.com/pkgs/main/noarch

  - https://repo.anaconda.com/pkgs/r/osx-arm64

  - https://repo.anaconda.com/pkgs/r/noarch


To search for alternate channels that may provide the conda package you're

looking for, navigate to


    https://anaconda.org


and use the search bar at the top of the page.



(base) comet-cubs:~ vincente$ source activate ncl_stable

Could not find conda environment: ncl_stable

You can list all discoverable environments with `conda info --envs`.


(base) comet-cubs:~ vincente$ conda -V

-bash: /Users/vincente/opt/miniconda3/bin/conda: No such file or directory

(base) comet-cubs:~ vincente$ conda -V

-bash: /Users/vincente/opt/miniconda3/bin/conda: No such file or directory

(base) comet-cubs:~ vincente$ conda create -n ncl_stable -c conda-forge ncl

-bash: /Users/vincente/opt/miniconda3/bin/conda: No such file or directory

(base) comet-cubs:~ vincente$ conda update -n ncl_stable -c conda-forge
--all

-bash: /Users/vincente/opt/miniconda3/bin/conda: No such file or directory

(base) comet-cubs:~ vincente$ conda update -n root --all

-bash: /Users/vincente/opt/miniconda3/bin/conda: No such file or directory

(base) comet-cubs:~ vincente$ conda -V

conda 4.12.0

(base) comet-cubs:~ vincente$ conda create -n ncl_stable -c conda-forge ncl

Collecting package metadata (current_repodata.json): done

Solving environment: failed with repodata from current_repodata.json, will
retry with next repodata source.

Collecting package metadata (repodata.json): done

Solving environment: failed


PackagesNotFoundError: The following packages are not available from
current channels:


  - ncl


Current channels:


  - https://conda.anaconda.org/conda-forge/osx-arm64

  - https://conda.anaconda.org/conda-forge/noarch

  - https://repo.anaconda.com/pkgs/main/osx-arm64

  - https://repo.anaconda.com/pkgs/main/noarch

  - https://repo.anaconda.com/pkgs/r/osx-arm64

  - https://repo.anaconda.com/pkgs/r/noarch


To search for alternate channels that may provide the conda package you're

looking for, navigate to


    https://anaconda.org


and use the search bar at the top of the page.



Here is the output:

vincente$ conda list -n ncl_stable


EnvironmentLocationNotFound: Not a conda environment:
/Users/vincente/opt/miniconda3/envs/ncl_stable


(base) comet-cubs:~ vincente$ conda --version

conda 4.12.0

(base) comet-cubs:~ vincente$ which ncl

(base) comet-cubs:~ vincente$ ncl -V

-bash: ncl: command not found

(base) comet-cubs:~ vincente$ env | grep NCARG

(base) comet-cubs:~ vincente$

Thanks in advance for your help!
Vanessa


Vanessa Vincente (she/her/ella)

Associate Scientist III

UCP Education & Training Center/The COMET Program

University Corporation for Atmospheric Research

meted.ucar.edu

*My working hours may differ from your own. Please do not feel obliged to
reply outside of standard business hours.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-install/attachments/20220926/5e717655/attachment-0001.htm>


More information about the ncl-install mailing list