Skip to content

ModuleNotFoundError running example on Binder #1

@TomNicholas

Description

@TomNicholas

I tried running the example notebook in binder linked from your blog post @rabernat , but get a ModuleNotFoundError when it tries to initialise the llcreader model object:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-971699e2a20f> in <module>
----> 1 model = llcreader.ECCOPortalLLC2160Model()
      2 model

/srv/conda/envs/notebook/lib/python3.6/site-packages/xmitgcm/llcreader/known_models.py in __init__(self)
     77 
     78     def __init__(self):
---> 79         fs = _make_http_filesystem()
     80         base_path = 'https://data.nas.nasa.gov/ecco/download_data.php?file=/eccodata/llc_2160/compressed'
     81         grid_path = 'https://data.nas.nasa.gov/ecco/download_data.php?file=/eccodata/llc_2160/grid'

/srv/conda/envs/notebook/lib/python3.6/site-packages/xmitgcm/llcreader/known_models.py in _make_http_filesystem()
     16 def _make_http_filesystem():
     17     import fsspec
---> 18     from fsspec.implementations.http import HTTPFileSystem
     19     return HTTPFileSystem()
     20 

/srv/conda/envs/notebook/lib/python3.6/site-packages/fsspec/implementations/http.py in <module>
      1 from __future__ import print_function, division, absolute_import
      2 
----> 3 import aiohttp
      4 import asyncio
      5 import logging

ModuleNotFoundError: No module named 'aiohttp'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions