[ncl-talk] Pyngl and Pynio installation issues

Mahesh Kovilakam mkmvarma at gmail.com
Mon Jun 3 11:19:56 MDT 2019


Yes. This is what I get when I activate the environment.

# To activate this environment, use

#

#     $ conda activate ncl_to_python

#

# To deactivate an active environment, use

#

#     $ conda deactivate


(ncl_to_python) LASLA17110290:~ mmundakk$ conda activate ncl_to_python

(ncl_to_python) LASLA17110290:~ mmundakk$

It does show "(ncl_to_python)".

this is what the path to python is:

/Users/mmundakk/anaconda3/envs/ncl_to_python/bin/python

Thanks,
Mahesh

On Mon, Jun 3, 2019 at 12:22 PM Rick Brownrigg <brownrig at ucar.edu> wrote:

> Hi,
>
> A couple of troubleshooting questions:
>
> - Are you certain the environment was indeed activated?  The command
> prompt should be prefixed with the env name in parenthesis (i.e.,  (ncl_to_python)
> $ )
> - Which version of python?  Try "which python" and verify the path is
> something like
>    ..../miniconda3/envs/ncl_to_python/bin/python
> - You might try "source activate ncl_to_python"
>
> Rick
>
>
> On Mon, Jun 3, 2019 at 9:55 AM Mahesh Kovilakam <mkmvarma at gmail.com>
> wrote:
>
>> Hi,
>> I am now transitioning from NCL to python and installed the modules using
>> conda:
>>
>> conda create -n ncl_to_python -c conda-forge xarray netcdf4 scipy pyngl
>> pynio ncl
>>
>> I then activated the environment using
>>
>> conda activate ncl_to_python
>>
>> I then used an example "TRANS_read_netCDF.py ". However, after running
>> the script it gives the error:
>>
>>     import Ngl,Nio
>>
>> ImportError: No module named Ngl
>>
>>
>> Is it just a path issue? Any help is appreciated.
>>
>> Thanks,
>> Mahesh
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190603/f807b9b0/attachment.html>


More information about the ncl-talk mailing list