________________________________
 From: Johann Rohwer <j...@sun.ac.za>
To: matplotlib-users@lists.sourceforge.net 
Sent: Wednesday, September 19, 2012 3:22 PM
Subject: Re: [Matplotlib-users] netcdf4-python build
 
On 19/09/2012 21:14, Michael Rawlins wrote:

> Just installed h5utils from package manager. Getting same errors.  In
> package manager I'm searching on hdf5.  If there's a package there I'm
> missing, then it certainly is not obvious.

Try

libhdf5-serial
libhdf5-serial-dev
Johann



After installing those two packages I was able build with setup.py in 
netCDF4-1.0/

Last few lines of the build:

creating build/scripts.linux-i686-2.7
copying and adjusting utils/nc3tonc4 -> build/scripts.linux-i686-2.7
copying and adjusting utils/nc4tonc3 -> build/scripts.linux-i686-2.7
changing mode of build/scripts.linux-i686-2.7/nc3tonc4 from 644 to 755
changing mode of build/scripts.linux-i686-2.7/nc4tonc3 from 644 to 755


Here is my initialization:

from mpl_toolkits.basemap import Basemap, shiftgrid, cm 
from netCDF4 import Dataset as NetCDFFile

Here is result of execution of script:

Traceback (most recent call last):
  File "map_PrcpBias_Northeast.py", line 21, in <module>
    from netCDF4 import Dataset as NetCDFFile 

I understand using the python-netcdf package is an option. Installed that but 
am getting an eror saying missing libhdf5_hl.so.6 when trying:

from Scientific.IO.NetCDF import NetCDFFile

MR



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to