Skip to content

Import error when running surface_currents.ipynb on Binder #12

@lqgentner

Description

@lqgentner

Dear all,

I discovered your notebook to learn about batch generation with xarray datasets for machine learning.
Sadly, I am not able to run the first cell in surface_currents.ipynb:

import xarray as xr
ImportError: cannot import name 'TypedDict' from 'typing' (/srv/conda/envs/notebook/lib/python3.7/typing.py)

Possible solution
The binder environment currently uses Python 3.7. Switching to Python 3.8 or newer should solve the import error.

If I can change the Python version of the Binder environment myself, I would be grateful for a hint!

Thank you,
Luis

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues that present a reasonable conviction there is a reproducible bug.

    Type

    No type

    Projects

    Status

    To-Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions