On Fri, May 27, 2016 at 9:44 AM, Elizabeth A. Fischer <
elizabeth.fischer@xxxxxxxxxxxx> wrote:
> I install everything, including my Python stack, through Spack.
>
Interesting -- I'd never seen it before. Looks an awful lot like conda, at
least in its goals, from a quick read of the README.
Does it deal with the ugly matrix of numpy and python versioning? That's
one of the killer features of conda.
NOTE: while conda was born of the Python community, and mostly used there,
it is very much designed to handle all sorts of packages that have nothing
to do with python.
Does it provide a repository of pre-built packages? That's another of the
killer features of conda.
-CHB
>
>
> On Fri, May 27, 2016 at 11:18 AM, Chris Barker - NOAA Federal <
> chris.barker@xxxxxxxx> wrote:
>
>>
>> Through Yast in openSUSE.
>>
>>
>> A python extension that uses Numpy is complied specifically for both
>> Python version AND Numpy version. I kind of doubt Yast supports all the
>> combinations...it may well support one combination that works, but they
>> tend to be out of date versions.
>>
>> Today I could install netcdf4 for python2 using conda, so far it is
>> working good. My problem is temporarily solved but curious to know whether
>> I use two numpy abd netcdf versions for python2&3 respectively.
>>
>>
>> The underlying C lib can be the same, but the Python extension is
>> specific to both Python and Numpy versions. Isn't it nice that conda
>> handles this for you?
>>
>> -CHB
>>
>>
>> Thanks
>> Nuncio
>>
>> On Friday, May 27, 2016, Elizabeth A. Fischer <
>> elizabeth.fischer@xxxxxxxxxxxx> wrote:
>>
>>> How did you install these?
>>> On May 27, 2016 2:55 AM, "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 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
>>>>
>>>>
>>>> _______________________________________________
>>>> 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/
>>>>
>>>
>>
>> --
>> 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/
>>
>>
>
--
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