Hi Linus,
I ran in the same error as you on linux while using Python2.7. The command completed successfully with Python 3.6.9, so Python 3.X should work.

Regards,
Pierre