fsspec / fsspec/filesystem_spec
ModuleNotFoundError: No module named 'aiohttp'
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 490
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 38
Description
This error just showed up in one of our CI environments in which fsspec is installed via pip. It's currently causing https://github.com/MITgcm/xmitgcm/pull/225 to fail.
The environment looks like this
name: test_env
channels:
- conda-forge
dependencies:
- python=3.6
- dask
- numpy
- pytest
- future
- zarr
- cftime
- pip:
- cachetools
- git+https://github.com/pydata/xarray.git
- fsspec
- codecov
- pytest-cov
The code calls
from fsspec.implementations.http import HTTPFileSystem
and we get
from __future__ import print_function, division, absolute_import
> import aiohttp
E ModuleNotFoundError: No module named 'aiohttp'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ci/environment-py36-xarraymaster.yml and reproduce the HTTPFileSystem import in the shown Python 3.6 environment. Check how the missing aiohttp dependency is handled, then verify that the import succeeds and the affected CI job no longer fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100