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'`
Advertisement
Answer
From the source:
Choose the sandbox folder of your choice (~/sandbox for example)
$ mkdir visualization $ cd visualization
Clone folium from github:
$ git clone https://github.com/python-visualization/folium
Run the installation script
$ cd folium $ python setup.py install