On May 26, 2016, at 11:55 PM, nuncio m <nuncio.m@xxxxxxxxx> wrote:
Python 3 numpy is 1.9 and python3-netcdf4 is 1.2.2. I think its a bit
complicated here because I have python2 and python3 in my
Yup, though whichever Python you use to compile netcdf4 will do the right
thing.
You do need to build it for each Python separately, and you do need to
rebuild it if you upgrade Numpy.
All this is why conda exists.....
CHB
system.
nuncio
On Mon, May 23, 2016 at 9:40 PM, Chris Barker <chris.barker@xxxxxxxx> wrote:
> On Mon, May 23, 2016 at 4:19 AM, Sudheer Joseph <sjo.india@xxxxxxxxx>
> wrote:
>
>> You have to install the correct version of numpy which is used by
>> NetCDF4 library,
>>
>
> or a correct build of NetCDF4 that matches your numpy version :-)
>
> I HIGHLY recommend using Anaconda / conda to manage your python packages
> -- it specifically supports keeping numpy versions in sync.
>
> -CHB
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chris.Barker@xxxxxxxx
>
--
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