I am using python 3.8.3 version.
I installed folium typing pip install folium
in the command line. After typing pip show folium
in the command line, the output is as follows:
Name: folium
Version: 0.12.1
Summary: Make beautiful maps with Leaflet.js & Python
Home-page: https://github.com/python-visualization/folium
Author: Rob Story
Author-email: wrobstory@gmail.com
License: MIT
Location: c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages
Requires: requests, jinja2, branca, numpy
Required-by:
When I type import folium
in VS code, I get an ModuleNotFoundError: No module named 'folium'
error.
What can I do to solve this issue?
Your package seems to be installed in c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages
.
Check out where is your Python looking for installed packages by running this Python program:
import sys
print(sys.path)
If there is not aforementioned path present, then you have to add it, for VS code it is described here: https://code.visualstudio.com/docs/python/environments