出现问题:OSError: cannot load library 'libcairo.so.2': libcairo.so.2: cannot open shared object file: No such file or directory.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'


网上很多方法试过了,发现没用,下面这个可以解决该方法


apt-get install python-cairo-devte