I am using vs code, after pip install folium (version 0.17.0) , I got error "ModuleNotFoundError: No module named 'folium' ".
I realized its related to python version : folium is running by python 3.12.1 BUT it can not resolve folium with python 3.12.4 AND python 3.11.10 AND python 3.9.13 !!!
In the vs code toolbar (bottom of vs code) click on python version and try to change your interpreter (python version). If you don't have other versions installed in your computer first check which python version is compatible with your version of your installed folium.
good luck