ImportError: No module named folium?

2k views Asked by At

I Tried Installing folium with :

pip install folium

And:

conda install -c conda-forge folium

And I Tried Installing Specific Version too But It Still doesn't work. When I Try The Installing Commands Again I Just Get This:

    Defaulting to user installation because normal site-packages is not writeable
    Requirement already satisfied: folium==0.11.0 in /home/rem/.local/lib/python3.8/site-packages 
    (0.11.0)
    Requirement already satisfied: jinja2>=2.9 in /usr/lib/python3/dist-packages (from 
    folium==0.11.0) (2.10.1)
    Requirement already satisfied: branca>=0.3.0 in /home/rem/.local/lib/python3.8/site-packages 
    (from folium==0.11.0) (0.4.1)
    Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from folium==0.11.0) 
    (2.22.0)
    Requirement already satisfied: numpy in /home/rem/.local/lib/python3.8/site-packages (from
    folium==0.11.0) (1.18.5)

Also I Tried:

conda install branca

Or :

pip install branca

And I Still Get This ERROR:

            line 1, in <module>
     import folium
ImportError: No module named folium

PLEASE HELP!!!

1

There are 1 answers

0
Arty On BEST ANSWER

It is always possible to manually download and instaly any pip package using wheelodex site like this:

  1. Go to https://www.wheelodex.org/projects/folium/.
  2. Follow download link on the page above, you'll get folium-0.11.0-py2.py3-none-any.whl file.
  3. Install file using pip like python -m pip install folium-0.11.0-py2.py3-none-any.whl.

You may install other non-working packages too in similar way.