Dear Nuncio,
How did you install NetCDF4 in python?. it is
complaining that you have a wrong version of numpy module. You have to
install the correct version of numpy which is used by NetCDF4 library, this
info will be available at the location where you got the NetCDF4 library.
with best regards
Sudheer
**********************************************************************************
Dr. Sudheer Joseph
Scientist,
INCOIS, MoES, Govt. of India.
"OCEAN VALLEY" , Pragathi Nagar (BO), Nizampet SO, Telangana, India. PIN-
500 090.
Tel:+91-9440832534(Mobile) Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
E-mail: sjo.India@xxxxxxxxx; sjo@xxxxxxxxxxxxx.
-------------------* --------------------
"The ultimate measure of a man is not where he stands in moments of
comfort and convenience, but where he stands at times of challenge and
controversy."
Martin Luther King, Jr.
***********************************************************************************
On Mon, May 23, 2016 at 4:41 PM, nuncio m <nuncio.m@xxxxxxxxx> wrote:
> Hi,
>
> " from netcdf4 import Dataset" gives the following error. Any suggestion to
> load netcdf in python3
>
> thanks
>
> nuncio
>
> ---------------------------------------------------------------------------RuntimeError
> Traceback (most recent call last)RuntimeError:
> module compiled against API version 0xa but this version of numpy is 0x9
>
>
> ---------------------------------------------------------------------------ImportError
> Traceback (most recent call
> last)<ipython-input-21-c5d22513aa9b> in <module>()----> 1 from netCDF4 import
> Dataset
> /usr/lib/python3.4/site-packages/netCDF4/__init__.py in <module>() 1 #
> init for netCDF4. package 2 # Docstring comes from extension module
> _netCDF4.----> 3 from ._netCDF4 import * 4 # Need explicit imports for
> names beginning with underscores 5 from ._netCDF4 import __doc__,
> __pdoc__
> ImportError: numpy.core.multiarray failed to import
>
>
>
>
> --
> Nuncio.M
> Scientist
> National Center for Antarctic and Ocean research
> Head land Sada
> Vasco da Gamma
> Goa-403804
> ph off 91 832 6551117
> ph: cell 91 9890357423
>
>
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web. Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>