-
Before the error occured I have run this command on two computers:
IDEA on my first computer tells me:
And on the 2nd computer, crash is this:
So how to solve this? And I have installed |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
I think something is wrong with your netCDF install. Unfortunately, I dont know how to help you further |
Beta Was this translation helpful? Give feedback.
-
So the first question would be: Why are you pip installing when using conda? |
Beta Was this translation helpful? Give feedback.
-
@dcherian @headtr1ck @kmuehlbauer Now I knew what make this mistake happen. |
Beta Was this translation helpful? Give feedback.
@dcherian @headtr1ck @kmuehlbauer Now I knew what make this mistake happen.
My business code is like this:
dataset = xa.open_dataset(my_dict.get(my_key))
However,
my_dict.get(my_key)
returns a None value because of some mistakes of myself, so xarray don't know what backend to choose to parseNone
data.Of course it can be debugged, however when I debug the method, pycharm gives me this error: https://stackoverflow.com/questions/74326551/attributeerror-module-ntpath-has-no-attribute-sep
So I think this is an python env's problem which has correlation with xarray(in fact it's a python env's problem, but xarray and its backends have no problem) and wasted much time(about 3 days!).
How I solv…