Search code examples
pythonpython-3.xinstallationpython-modulefolium

How to install folium for python 3.7


import folium as fo

map = fo.Map()
map

x = fo.FeatureGroup(name= 'My Map')

x.add_person(fo.Marker(location=[27.1750,78.0422] ,

popup='hello user' , icon=fo.Icon(color='green')))

map.add_person(x)

Solution

  • You don't have the python package installed. You can install it using pip running this command in your console:

    python -m pip install folium
    

    Take a look at Installing Python Modules on the python documentation