Unable to install pygrib

Hello, I’m starting to use python. I was trying to convert GRIB file to CSV using anaconda but I didn’t. Can you help me?

import xarray as xr
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named xarray

What steps did you take so far in order to try to solve the problem?

Exactly what happened when you tried following these steps? Exactly what did you think should happen instead, and how is that different?

For example, the title says “unable to install pygrib”, so I assume that you mean that you tried to use Anaconda to install “pygrib”, and I assume that by “pygrib” you mean this. But it would be better to say these things up front.

So, what commands did you use to try the installation?

What did you see in the terminal when you tried this? (Please copy and paste the complete output, along with the command, and format it like multi-line code. See the pinned thread to understand how to do this properly.)