YR platform error

The last couple of versions, i’ve had problems with the YR module. It must be something related to my install, but what could be wrong ?

This is the error message from the log:

2018-04-19 08:47:20 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform yr
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 82, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/yr.py”, line 95, in async_setup_platform
yield from weather.fetching_data()
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/yr.py”, line 183, in fetching_data
self.data = xmltodict.parse(text)[‘weatherdata’]
AttributeError: module ‘xmltodict’ has no attribute ‘parse’