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

Operating environment


CentOS 6.8
Python 2.6.6

Symptoms

read_nc.py


import netCDF4

I got the following error when I ran the above.

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

Countermeasures

Install the related packages as follows.

sudo yum install netcdf4-python.x86_64

Recommended Posts

python / netCDF / CentOS 6.8> ImportError: No module named netCDF4> sudo yum install netcdf4-python.x86_64
python> import seiral> ImportError: No module named serial
[Solved] ImportError: No module named pyexpat and pyenv install is moss
Today's python error: ModuleNotFoundError: No module named
Suddenly with Python PyInstaller No module named pyinstaller
Today's python error: ModuleNotFoundError: No module named
ModuleNotFoundError in Python: No module named story
CentOS8 --Install --Python3
Install Python3.4 on CentOS 6.6
Python 2.7 installation (yum) (CentOS 6.8)
Install Python 2.7.3 on CentOS 5.4
Python 3.5 installation (yum) (CentOS 6.8)
If you can't use Beautiful Soup 4 after updating to Python 3.5. ImportError: No module named bs4
After installing pygame with conda install No module named font
[Python] ModuleNotFoundError: No module named'urlparse'
Install Python 3.8 on CentOS 7 (SCL)
Install Python 3.7 and Django 3.0 (CentOS)
Resolve No module named tkinter
Install Python 3.8 on CentOS 8 (AppStream)
Django, nginx, uWSGI, virtualenv ImportError: No module named site Solution Note
Python error: ModuleNotFoundError: No module named'flask'
'lambda_function': No module named When'selenium' appears
Install Python on CentOS using Pyenv
Install Python on CentOS using pyenv
Wall to put OpenCV 3.1.0 in raspberry pi 3 and run sample on python3: ImportError: No module named cv2 solution