[ncl-install] NCL installation issue on Linux

Mahesh Kovilakam mkmvarma at gmail.com
Fri Feb 23 04:43:44 MST 2024


I have an alias in my bash file which was used for running python. So, I
realized that was causing it. I uninstalled NCL and installed mini conda
and reinstalled NCL. It works now.

On Fri, Feb 23, 2024, 5:45 AM Ehsan Taghizadeh <ehsantaghizadeh at yahoo.com>
wrote:

> Dear Mahesh,
> Thank you for your feedback.
> It seems the ncl environment is successfully created by conda. You told me
> about adding
>
> export PATH="/anaconda311/bin:$PATH"
>
> in bashrc file.
> I suggest you remove that line and tell us about the output of
>
> $conda activate ncl
>
>
> *-----------------------------------------------------------------------------*
> *Sincerely,*
>
> *Ehsan Taghizade*
>
>
>
> On Thursday, February 22, 2024 at 06:41:13 PM GMT+3:30, Mahesh Kovilakam <
> mkmvarma at gmail.com> wrote:
>
>
> This is what I get:
>
> # conda environments:
>
> #
>
> base                     /anaconda311
>
> old_pandas_py3.9         /anaconda311/envs/old_pandas_py3.9
>
> psd_env_py3.11.5         /anaconda311/envs/psd_env_py3.11.5
>
> test                     /anaconda311/envs/test
>
> ncl                      /home/mmundakk/.conda/envs/ncl
>
>
> On Wed, Feb 21, 2024 at 5:36 PM Ehsan Taghizadeh <
> ehsantaghizadeh at yahoo.com> wrote:
>
> Dear Mahesh,
> Could you please tell us about the output of the following command:
> $ conda env list
>
>
> *-----------------------------------------------------------------------------*
> *Sincerely,*
>
> *Ehsan Taghizade*
>
>
>
> On Tuesday, February 20, 2024 at 09:29:20 PM GMT+3:30, Mahesh Kovilakam
> via ncl-install <ncl-install at mailman.ucar.edu> wrote:
>
>
> Hi,
> I am trying to install NCL on a linux server. I have conda version
> 23.10.0. This is what I get when I execute conda create -n ncl -c
> conda-forge ncl
>
> Channels:
>
>  - conda-forge
>
>  - defaults
>
> Platform: linux-64
>
> Collecting package metadata (repodata.json): done
>
> Solving environment: done
>
>
> ## Package Plan ##
>
>
>   environment location: /home/mmundakk/.conda/envs/ncl
>
>
>   added / updated specs:
>
>     - ncl
>
>
>
> The following packages will be downloaded:
>
>
> *It then lists the packages to be installed. I proceeded with installation
> and it shows:*
>
> Proceed ([y]/n)? y
>
>
>
> Downloading and Extracting Packages:
>
>
>
>
> Preparing transaction: done
>
>
> Verifying transaction: done
>
>
> Executing transaction: done
>
>
> #
>
>
> # To activate this environment, use
>
>
> #
>
>
> #     $ conda activate ncl
>
>
> #
>
>
> # To deactivate an active environment, use
>
>
> #
>
>
> #     $ conda deactivate
>
>
>
>
> I* then tried this:*
>
> [mmundakk at LADRL2023060931 ~]$ conda activate ncl
>
>
> usage: conda [-h] [-v] [--no-plugins] [-V] COMMAND ...
>
>
> conda: error: argument COMMAND: invalid choice: 'activate' (choose from
> 'clean', 'compare', 'config', 'create', 'info', 'init', 'install', 'list',
> 'notices', 'package', 'remove', 'uninstall', 'rename', 'run', 'search',
> 'update', 'upgrade', 'build', 'content-trust', 'convert', 'debug',
> 'develop', 'doctor', 'index', 'inspect', 'metapackage', 'render',
> 'repoquery', 'skeleton', 'repo', 'pack', 'env', 'server', 'token',
> 'verify')
>
> [mmundakk at LADRL2023060931 ~]$ source activate ncl
>
>
> ^C
>
>
> [mmundakk at LADRL2023060931 ~]$ ncl -V
>
>
> bash: ncl: command not found...
>
>
> ^CInstall package 'ncl' to provide command 'ncl'? [N/y]
>
>
> [1]+  Stopped                 ncl -V
>
>
>
>
>
> [mmundakk at LADRL2023060931 ~]$ conda list -n ncl_stable
>
>
> ^C
>
>
> [mmundakk at LADRL2023060931 ~]$ conda list -n ncl
>
> ^C^C
>
>
> [mmundakk at LADRL2023060931 ~]$ which ncl
>
>
> /usr/bin/which: no ncl in
> (/anaconda311/condabin:/anaconda311/bin:/home/mmundakk/.local/bin:/home/mmundakk/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)
>
>
> [mmundakk at LADRL2023060931 ~]$ env  | grep NCARG
>
> [mmundakk at LADRL2023060931 ~]$ conda list -n ncl
>
>
>
>
> *Not sure why it says "no ncl" *
>
> Any help will be appreciated.
> Thanks
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-install
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-install/attachments/20240223/23a34b06/attachment-0001.htm>


More information about the ncl-install mailing list