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/5841#issuecomment-985413409,https://api.github.com/repos/pydata/xarray/issues/5841,985413409,IC_kwDOAMm_X846vDch,14808389,2021-12-03T10:42:34Z,2021-12-03T10:42:34Z,MEMBER,"I don't think `xarray` has anything to do with that issue: if `python -c 'import dask'` succeeds, `xarray` will *have* to assume `dask` is available.
You will probably have to investigate `pip` (why didn't it remove the `__pycache__` directory?) or `pytest` (why was the `pyc` file created in the first place?) to really fix this, but for now you can try setting `PYTHONDONTWRITEBYTECODE` or running `python` with `-B` (for example, `python -B -m pytest`)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1019478260
https://github.com/pydata/xarray/issues/5841#issuecomment-945157584,https://api.github.com/repos/pydata/xarray/issues/5841,945157584,IC_kwDOAMm_X844VfXQ,14808389,2021-10-17T16:50:05Z,2021-10-17T16:50:38Z,MEMBER,"I still can't reproduce if I create the environment using
```sh
python3.9 -m venv test
source test/bin/activate
python -m pip install xarray
python -c 'import xarray'
```
Looking at the traceback you posted it seems you've been trying to install into `/usr/local`? That's something you should avoid as much as possible (unless you're trying to build OS packages).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1019478260
https://github.com/pydata/xarray/issues/5841#issuecomment-945112226,https://api.github.com/repos/pydata/xarray/issues/5841,945112226,IC_kwDOAMm_X844VUSi,14808389,2021-10-17T12:43:58Z,2021-10-17T12:43:58Z,MEMBER,"closing as a environment issue, but feel free to ask if you need more help","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1019478260
https://github.com/pydata/xarray/issues/5841#issuecomment-939267151,https://api.github.com/repos/pydata/xarray/issues/5841,939267151,IC_kwDOAMm_X843_BRP,14808389,2021-10-09T09:45:00Z,2021-10-09T09:46:13Z,MEMBER,"I don't think there is, unfortunately","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1019478260
https://github.com/pydata/xarray/issues/5841#issuecomment-937532627,https://api.github.com/repos/pydata/xarray/issues/5841,937532627,IC_kwDOAMm_X8434ZzT,14808389,2021-10-07T07:35:22Z,2021-10-07T07:35:22Z,MEMBER,"that's strange, we even have a CI to make sure importing without having `dask` installed works. I also can't reproduce with
```bash
mamba create -n test python=3.9.7 # new clean environment
python -m pip install xarray
python -c 'import xarray as xr'
```
so maybe there's something wrong with your environment?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1019478260