map2loop-2 icon indicating copy to clipboard operation
map2loop-2 copied to clipboard

Notebook "1. map2loop leaflet example" various modules not found

Open markdlindsay opened this issue 4 years ago • 1 comments

Cell 3

"ModuleNotFoundError: No module named 'folium'"

"ModuleNotFoundError: No module named 'ipyleaflet'"

markdlindsay avatar Feb 11 '21 05:02 markdlindsay

Hey @markdlindsay, hope you're well - there's an extra step when using the leaflet maps to draw an area. You can run the following in a notebook cell -

!conda install -c conda-forge folium ipyleaflet ipywidgets -y 
!jupyter nbextension enable --py --sys-prefix ipyleaflet

or cmd line (without the exclamation points), then restart the notebook (id recommend actually restarting the whole server, i.e. ctrl+c in your terminal and then reissuing Jupyter notebook). Let me know if this works

yohanderose avatar Mar 09 '21 07:03 yohanderose