LoginSignup
0
1

More than 5 years have passed since last update.

python / netCDF / CentOS 6.8 > ImportError: No module named netCDF4 > sudo yum install netcdf4-python.x86_64

Last updated at Posted at 2016-10-21
動作環境
CentOS 6.8
Python 2.6.6

症状

read_nc.py
import netCDF4

上記を実行した時に以下のエラーが出た。

$ python read_nc.py 
Traceback (most recent call last):
  File "read_nc.py", line 1, in <module>
    import netCDF4
ImportError: No module named netCDF4

対策

以下のように関連パッケージをインストールする。

sudo yum install netcdf4-python.x86_64
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1