Breakout Garden example - edit

I get the following when I run, install instructions followed, any ideas?

Traceback (most recent call last):
File “./”, line 126, in
weather_icon = get_weather_icon(get_weather(coords))
File “./”, line 76, in get_weather
soup = BeautifulSoup(res.content, “lxml”)
File “/usr/local/lib/python2.7/dist-packages/bs4/”, line 196, in init
% “,”.join(features))
bs4.FeatureNotFound: Couldn’t find a tree builder with the features you requested: lxml. Do you need to install a parser library?

Tried with latest Stretch Image and the 2018-11-13 as well - fails with both…

Running “sudo apt-get install python-lxml” and rebooting appears to have solved the problem.

1 Like