James: I don't think you are getting the same python as before - the
'Vapor GUI' python probably has those other modules included, but not
netcdf4-python. -Jeff
-----------------------------------------------------------------
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@xxxxxxxx
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
On Mon, Oct 14, 2013 at 7:58 PM, James Adams <monocongo@xxxxxxxxx> wrote:
> Thanks so much for your help, Jeff. I checked the sys.path and sure
> enough there was another Python installed for Vapor GUI (under the
> Vapor directory). I uninstalled Vapor (which I wasn't using anyway)
> and now voila, I can import netCDF4 now. It seems that I'm still
> running the same Python as before, and I can still import all other
> packages as before (numpy, scipy, cx_Oracle, etc.), but now also
> netCDF4 is available. I did not reinstall the netCDF4 module, so it
> must have installed OK the first time, no? How does the sys.path
> variable affect where or how Python finds the netCDF4 module?
>
> --James
>
> On Fri, Oct 11, 2013 at 3:08 PM, Jeff Whitaker
> <jeffrey.s.whitaker@xxxxxxxx> wrote:
> > James: Perhaps you have more than one python installed in sys.path? It
> > could be you're running a python installation that doesn't have netCDF4
> > installed.
> >
> > -Jeff
> >
> > On Thu, Oct 10, 2013, at 01:19 PM, James Adams wrote:
> >> My issue is described here:
> >>
> http://stackoverflow.com/questions/19222063/installing-netcdf4-for-python-fails-how-to-fix
> >>
> >> Can anyone advise as to what I can try to fix this? Thanks in advance
> >> for any suggestions!
> >>
> >> --James
> >>
> >> _______________________________________________
> >> netcdfgroup mailing list
> >> netcdfgroup@xxxxxxxxxxxxxxxx
> >> For list information or to unsubscribe, visit:
> >> http://www.unidata.ucar.edu/mailing_lists/
> >
> >
> > --
> > ------
> > Jeffrey S. Whitaker
> > Phone: (303)497-6313
> > FAX: (303)497-6449
> > NOAA/OAR/CDC R/CDC1
> > 325 Broadway, Boulder, CO, USA 80305-3328
> > http://www.cdc.noaa.gov/people/jeffrey.s.whitaker
>