html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/5631#issuecomment-885927432,https://api.github.com/repos/pydata/xarray/issues/5631,885927432,IC_kwDOAMm_X840zi4I,1328158,2021-07-23T21:39:54Z,2021-07-23T21:39:54Z,NONE,"Thanks to all for your help. Installing typing-extensions did solve the problem, thanks for the heads up @rhkleijn ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,951644054
https://github.com/pydata/xarray/issues/5631#issuecomment-885828529,https://api.github.com/repos/pydata/xarray/issues/5631,885828529,IC_kwDOAMm_X840zKux,43218622,2021-07-23T18:39:47Z,2021-07-23T18:45:28Z,NONE,"I get the same error, as expected:
```python
>>> import numpy.typing
Traceback (most recent call last):
File """", line 1, in
File ""env/lib/python3.7/site-packages/numpy/typing/__init__.py"", line 316, in
from ._dtype_like import (
File ""env/lib/python3.7/site-packages/numpy/typing/_dtype_like.py"", line 95, in
class _SupportsDType(Generic[_DType_co]):
NameError: name '_DType_co' is not defined
>>> numpy.version.version
'1.21.1'
```
numpy is aware of this [issue.](https://github.com/numpy/numpy/issues/19521) It looks like it is only an issue for `python 3.7`.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,951644054
https://github.com/pydata/xarray/issues/5631#issuecomment-885792974,https://api.github.com/repos/pydata/xarray/issues/5631,885792974,IC_kwDOAMm_X840zCDO,43218622,2021-07-23T17:34:48Z,2021-07-23T17:36:04Z,NONE,"I get the same error, but can `import numpy` with/without `xarray` installed. I'm running python 3.7.7 on RHEL 7.9 (Maipo):
```python
$ pip install --upgrade pip
$ pip install xarray
$ python3
>>> import numpy
>>> import xarray
Traceback (most recent call last):
File """", line 1, in
File ""env/lib/python3.7/site-packages/xarray/__init__.py"", line 3, in
from . import testing, tutorial, ufuncs
File ""env/lib/python3.7/site-packages/xarray/testing.py"", line 8, in
from xarray.core import duck_array_ops, formatting, utils
File ""env/lib/python3.7/site-packages/xarray/core/duck_array_ops.py"", line 16, in
from . import dask_array_compat, dask_array_ops, dtypes, npcompat, nputils
File ""env/lib/python3.7/site-packages/xarray/core/npcompat.py"", line 81, in
from numpy.typing import ArrayLike, DTypeLike
File ""env/lib/python3.7/site-packages/numpy/typing/__init__.py"", line 316, in
from ._dtype_like import (
File ""env/lib/python3.7/site-packages/numpy/typing/_dtype_like.py"", line 95, in
class _SupportsDType(Generic[_DType_co]):
NameError: name '_DType_co' is not defined
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,951644054