When you run the anaconda command to install netCDF4 package, it says that the hdf4 is installed along with it using the command:
- Code: Select all
$> conda install -c anaconda netcdf4
But you will get error message below when you run it:
- Code: Select all
ImportError: libmfhdf.so.0: cannot open shared object file: No such file or directory
The problem is that you have to manually install hdf4 package first with the following command:
- Code: Select all
$> conda install hdf4
Hope this saves you some headache.