here-map-widget-for-jupyter icon indicating copy to clipboard operation
here-map-widget-for-jupyter copied to clipboard

Make fully installable on Pyodide/JupyterLite?

Open deeplook opened this issue 4 years ago • 0 comments

It seems one can install this package on Pyodide and hence JupyterLite using micropip, but the maps don't show, yet, indicating there is some issue with the JupyterLab extension. You can try on JupyterLite. Maybe worth giving a thought?

import micropip
await micropip.install(
    "https://opencomputinglab.github.io/vce-wheelhouse/wheelhouse/"
    "MarkupSafe-2.0.1-py2.py3-none-any.whl"
)
await micropip.install("here-map-widget-for-jupyter")
from here_map_widget import Map

api_key = "******"
m = Map(api_key=api_key, center=[52.51, 13.39], zoom=4)
m  # gives: Loading widget...

deeplook avatar Jun 23 '21 07:06 deeplook