Python is an open-source, multi-purpose language. Some useful packages developed by enthusiastic users, or official packages with very specific functions may not be installed under the default setting. It is therefore of practial purpose to learn how to install these additional packges on your own.
Here we will introduce how to install NetCDF4 and Basemap packages using Anaconda. These two packages are available on our study server, but some of you may not have them installed in the python system on your computer (check this by "import netCDF4" or "import mpl_toolkits.basemap"). Following through the steps below:
PS. In the following images we use "basemap" as example. Installing netCDF4 is very similar, just change "basemap" to "netCDF4".
Finally, activate Python and import netCDF or import mpl_toolkits.basemap If no error mesage then the package was installed successfully.