简体   繁体   中英

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)

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

As explained on the docs here and here , you can install folium by running:

pip install folium

or

conda install -c conda-forge folium

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM