NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] netcdf4 python

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
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: