Python SDK ApplicationClient() issue

Trying to use the ttn Python module, but ApplicationClient() fails:

image

with error message

image

Any idea what is wrong?

MQTTClient() works as expected and creates the MQTT object.