Home > Article > Backend Development > How to install netCDF4 in python?
How to install netCDF4 in python? The following article will introduce to you how to install netCDF4 in python under Windows system. I hope it will be helpful to you.
Steps to install netCDF4 in python:
1. Download netCDF4
link: https://www .lfd.uci.edu/~gohlke/pythonlibs/
Download the appropriate file according to the python version and the number of bits of the system
2 , Installation
In python, you can use the pip command to install netCDF4. pip is a Python package management tool that provides the functions of finding, downloading, installing, and uninstalling Python packages.
Put the file you just downloaded into the target folder, which is C:users\DELL, and enter the command pip install xxxxx.whl in cmd
Note: xxxxx is the name of the downloaded file. If the file is not placed in the target folder, an error will occur
4. Test
Successfully read .nc document
The above is the detailed content of How to install netCDF4 in python?. For more information, please follow other related articles on the PHP Chinese website!