我已经尝试为 Windows 安装 netCDF4(从这里),但我仍然无法导入 netCDF4 模块。
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
>>> import numpy
>>> import scipy
>>> import netCDF4
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named netCDF4
site-packages 目录中有模块:
James@desktop /cygdrive/c/Python27/Lib/site-packages
$ ls net*
netcdf.dll netCDF4_utils.pyo netcdftime.pyc
netCDF4.pyd netCDF4-1.0.4-py2.7.egg-info netcdftime.pyo
netCDF4_utils.py netCDF4-1.0.5-py2.7.egg-info
netCDF4_utils.pyc netcdftime.py
运行安装程序后我还需要完成其他步骤吗?
谢谢!