Python 3.6 Module cannot be found: Folium

Tyler Russell picture Tyler Russell · Jun 18, 2017 · Viewed 34.3k times · Source

I am trying to import folium into a Jupyter notebook I'm working on and I cannot seem to solve the import issues with the Folium library. Has anyone else solved this problem?

!pip install folium
import pandas as pd
import folium

Output from the above yields:

`ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-7-a9938c267a0c> in <module>()
      1 get_ipython().system('pip install folium')
      2 import pandas as pd
----> 3 import folium

ModuleNotFoundError: No module named 'folium'`

Answer

ssp picture ssp · Oct 31, 2018

It is not available via default conda channel. Try using conda-forge channel to install folium as show below:

conda install -c conda-forge folium