RuntimeError: could not create serializer for "cbor" (available: ['json'])

self.__wamp = Component(
  transports=u"ws://router",
  realm=u"realm1"
)
run(self.__wamp)

With the above code I get the following error

connecting once using transport type “websocket” over endpoint “tcp”
Connection failed: RuntimeError: could not create serializer for “cbor” (available: [‘json’])

What can I do to alleviate this?

You need to install the Python “extra” for serialization dependencies. So like pip install autobahn[serialization] will give you all the non-JSON serializers