simonw / datasette-jupyterlite

JupyterLite as a Datasette plugin
11 stars 0 forks source link

AttributeError: module 'importlib.resources' has no attribute 'files' #1

Closed simonw closed 2 years ago

simonw commented 2 years ago

Error on 3.7 and 3.8 - not on 3.9 or higher. https://github.com/simonw/datasette-jupyterlite/actions/runs/1409361727

simonw commented 2 years ago

I think I can fix this with https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy