[ncl-install] trouble installing NCL under conda environment
Vanessa Vincente
vincente at ucar.edu
Fri Sep 30 15:29:12 MDT 2022
Hello All,
Thank you for your help. I'll be on the lookout for word if an M1/M2
version of NCL is developed in the future.
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.*
On Tue, Sep 27, 2022 at 2:41 PM Adam Phillips <asphilli at ucar.edu> wrote:
> Hi Vanessa,
> Some folks have been able to get NCL installed on M1 macs using
> miniconda3. They used the exact command you did: conda create -n ncl_stable
> -c conda-forge ncl.
> However, I believe they used the Intel version of miniconda3. This is not
> ideal, as it will be running under an emulation mode, but it's better than
> nothing.
> It would be great if a M1/M2 version of NCL was created.
> Best,
> Adam
>
> On Mon, Sep 26, 2022 at 8:50 PM Orhan Eroglu via ncl-install <
> ncl-install at mailman.ucar.edu> wrote:
>
>> Hi Vanessa,
>>
>> We haven't released any NCL versions yet for the M1 platform in our Anaconda
>> channel <https://anaconda.org/conda-forge/ncl/files>, and there is not
>> any plan of the GeoCAT team for that for the near future. We welcome
>> community contributions to the NCL repository for this purpose though.
>>
>> Regards,
>>
>> On Mon, Sep 26, 2022 at 4:11 PM Vanessa Vincente via ncl-install <
>> ncl-install at mailman.ucar.edu> wrote:
>>
>>> 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.*
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> https://mailman.ucar.edu/mailman/listinfo/ncl-install
>>>
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> https://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>
>
> --
> Adam Phillips
> Associate Scientist IV, Climate Analysis Section
> Climate and Global Dynamics Laboratory
> National Center for Atmospheric Research
> www.cgd.ucar.edu/staff/asphilli/
>
> <http://www.cgd.ucar.edu/staff/asphilli>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-install/attachments/20220930/88d69719/attachment-0001.htm>
More information about the ncl-install
mailing list