I’m setting up the weather example on two brand new raspberry pi zeros. The first one worked perfectly, but with the second one i’m getting the following error message, even after going through the github steps several times. Can anyone suggest a fix?
pi@raspberrypi:~/breakout-garden-master/examples/weather $ ./weather.py
This Pimoroni Breakout Garden example requires a
BME680 Environmental Sensor Breakout and a 1.12" OLED Breakout.
This example turns your Breakout Garden into a mini weather display
combining indoor temperature and pressure data with a weather icon
indicating the current local weather conditions.
Press Ctrl+C a couple times to exit.
Traceback (most recent call last):
File “./weather.py”, line 110, in
coords = get_coords(location_string)
File “./weather.py”, line 62, in get_coords
g = geocoder.arcgis(address)
File “/usr/local/lib/python3.7/dist-packages/geocoder/api.py”, line 398, in arcgis
return get(location, provider=‘arcgis’, **kwargs)
File “/usr/local/lib/python3.7/dist-packages/geocoder/api.py”, line 198, in get
return options[provider][method](location, **kwargs)
File “/usr/local/lib/python3.7/dist-packages/geocoder/base.py”, line 389, in init
self.session = kwargs.get(‘session’, requests.Session())
AttributeError: module ‘requests’ has no attribute ‘Session’