Skip to content Skip to sidebar Skip to footer

Python 3.6 Module Cannot Be Found: Folium

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

Solution 1:

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

Solution 2:

I solved the same problem by executing following command

python3 -m pip install folium

Solution 3:

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

Solution 4:

I had similar issues as the original problem. I installed successfully from the shell but jupyter would not recognize the module.

What worked for me was (in the jupyter notebook):

!pip install folium

Solution 5:

Running the following code in the terminal fixed it for me.

$ conda install folium -c conda-forge

Post a Comment for "Python 3.6 Module Cannot Be Found: Folium"