Home  >  Article  >  Backend Development  >  How to install netCDF4 in python?

How to install netCDF4 in python?

青灯夜游
青灯夜游Original
2019-05-22 13:21:1514886browse

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.

How to install netCDF4 in python?

Steps to install netCDF4 in python:

1. Download netCDF4

link: https://www .lfd.uci.edu/~gohlke/pythonlibs/

How to install netCDF4 in python?

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

How to install netCDF4 in python?

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

How to install netCDF4 in python?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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn