I am getting the following error in the Course 4 Lesson “APIs to get data from the web”
ValueError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_49208\1238407904.py in
1 import os
2 import requests
----> 3 from aisetup import print_llm_response
4 from dotenv import load_dotenv
~\anaconda3\lib\site-packages\aisetup_init_.py in
----> 1 from .tools import *
~\anaconda3\lib\site-packages\aisetup\tools.py in
124
125 ### Starting C3-platform helper functions
→ 126 import folium
127 from folium.plugins import BeautifyIcon
128 import ipywidgets as widgets
~\anaconda3\lib\site-packages\folium_init_.py in
15 )
16
—> 17 from folium.features import (
18 Choropleth,
19 ClickForLatLng,
~\anaconda3\lib\site-packages\folium\features.py in
17
18 from folium.elements import JSCSSMixin
—> 19 from folium.folium import Map
20 from folium.map import FeatureGroup, Icon, Layer, Marker, Popup, Tooltip
21 from folium.utilities import (
~\anaconda3\lib\site-packages\folium\folium.py in
12
13 from folium.elements import JSCSSMixin
—> 14 from folium.map import FitBounds
15 from folium.raster_layers import TileLayer
16 from folium.utilities import (
~\anaconda3\lib\site-packages\folium\map.py in
9 from jinja2 import Template
10
—> 11 from folium.utilities import (
12 camelize,
13 escape_backticks,
~\anaconda3\lib\site-packages\folium\utilities.py in
16
17 try:
—> 18 import pandas as pd
19 except ImportError:
20 pd = None
~\anaconda3\lib\site-packages\pandas_init_.py in
75 import pandas.core.config_init # pyright: ignore[reportUnusedImport] # noqa: F401
76
—> 77 from pandas.core.api import (
78 # dtype
79 ArrowDtype,
~\anaconda3\lib\site-packages\pandas\core\api.py in
----> 1 from pandas._libs import (
2 NaT,
3 Period,
4 Timedelta,
5 Timestamp,
~\anaconda3\lib\site-packages\pandas_libs_init_.py in
16 import pandas._libs.pandas_parser # isort: skip # type: ignore[reportUnusedImport]
17 import pandas._libs.pandas_datetime # noqa: F401 # isort: skip # type: ignore[reportUnusedImport]
—> 18 from pandas._libs.interval import Interval
19 from pandas._libs.tslibs import (
20 NaT,
pandas_libs\interval.pyx in init pandas._libs.interval()
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject