TypeError: Couldn't find foreign struct converter for 'cairo.Context'

This error was caused by one of the application installed in the OS. It's easy to fix it - try to install packages it needs:

sudo apt-get install python3-gi-cairo

or

sudo apt-get install python-gobject-cairo

https://github.com/rbgirshick/py-faster-rcnn/issues/221

 

 

Add new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed.
       .o      .oooooo.             .o                                     
.d88 d8P' `Y8b .d88
.d'888 888 888 .d'888 oo.ooooo. .oooo. .ooooo.
.d' 888 888 888 .d' 888 888' `88b `P )88b d88' `88b
88ooo888oo 888 888 88ooo888oo 888 888 .oP"888 888ooo888
888 `88b d88b 888 888 888 d8( 888 888 .o
o888o `Y8bood8P'Ybd' o888o 888bod8P' `Y888""8o `Y8bod8P'
888
o888o
Enter the code depicted in ASCII art style.