Rasa X InvalidSignatureError ImportError: cannot import name ‘InvalidSignatureError’

Hi, we have an error starting rasa x that we can not resolve: InvalidSignatureError ImportError: cannot import name ‘InvalidSignatureError’. We have tried already to upgrad PyJWT to 1.7.1 - but the error remains. Would appreciate some help on this. Thank you. Trace below.

Thx, Uli

Traceback (most recent call last): File “/usr/local/bin/rasa”, line 11, in sys.exit(main()) File “/usr/local/lib/python3.6/dist-packages/rasa/ main .py”, line 76, in main cmdline_arguments.func(cmdline_arguments) File “/usr/local/lib/python3.6/dist-packages/rasa/cli/x.py”, line 290, in rasa_x run_locally(args) File “/usr/local/lib/python3.6/dist-packages/rasa/cli/x.py”, line 370, in run_locally from rasax.community import local # pytype: disable=import-error File “/usr/local/lib/python3.6/dist-packages/rasax/community/local.py”, line 11, in import rasax.community.jwt File “/usr/local/lib/python3.6/dist-packages/rasax/community/jwt.py”, line 5, in from jwt import InvalidSignatureError ImportError: cannot import name ‘InvalidSignatureError’

pip3 ls shows PyJWT (1.7.1)

Hey there, what versions of rasa and rasa x and python do you have?

Hi, python 3.6.8, rasa 1.4.3, rasa x there is no -v argument - but the download happened a week ago from the rasa page so must be pretty up to date.

pip list | grep rasa-x will show you the version!

you’re right of course - rasa-x (0.22.2)

Hm, I have 1.7.1 as well. What about your sanic-jwt?

Here the versions:

sanic (19.9.0) Sanic-Cors (0.9.9.post1) sanic-jwt (1.3.2) Sanic-Plugins-Framework (0.8.2)

Do you have any hint what I could do to overcome this issue?