Using APT command in Linux

Submitted by Admin on

Apt is a command line utility for install, update, remove and other operations. It manage dep packages in Ubuntu, Debian and distributions that based on it. It consists of most used commands apt-get and apt-cache but differs the default options. Apt was created for interactive use. Most of the commands of apt utility should be executed with sudo premissions.

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

Submitted by Admin on

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